<?php sort(array &$array, int $flags = SORT_REGULAR): true
<?php { $results = iterator_to_array(new GlobIterator($glob, $flags)); sort($results); return $results; }
<?php private function assertSameAfterSorting($expected, $actual, $message = '') { if (is_array($actual)) { sort($actual); } $this->assertSame($expected, $actual, $message);