From: Vincent Vanwaelscappel Date: Thu, 23 Dec 2021 13:10:50 +0000 (+0100) Subject: wip #4978 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b8ce5da958daf0520a03be1ca1b33068a2c5c498;p=cubist_util.git wip #4978 @0.25 --- diff --git a/src/Files/DirectorySortedIterator.php b/src/Files/DirectorySortedIterator.php new file mode 100644 index 0000000..4d56c5c --- /dev/null +++ b/src/Files/DirectorySortedIterator.php @@ -0,0 +1,20 @@ +insert($item); + } + } + public function compare($b,$a) + { + return strcmp($a->getRealpath(), $b->getRealpath()); + } +}