Helper class for sorting array with parametrized callback.
author | Tomasz Sawicki (https://github.com/Furgas) |
---|---|
package | Common |
__construct(callback $callback, array $arguments)
callback
Sorting callback.
array
List of arguments to sorting callback.
sort(mixed $a, mixed $b) : int
mixed
First value to compare.
mixed
Second value to compare.
int
$arguments : array
$callback : callback