SORT_BY_NONE
SORT_BY_NONE = 0
SortableIterator applies a sort on a given Iterator.
__construct(\Traversable<string,\SplFileInfo> $iterator, int|callable $sort, bool $reverseOrder = false) : mixed
\Traversable |
$iterator | |
int|callable | $sort | The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback) |
bool | $reverseOrder |