07-04-2022, 05:49 PM
Today while refreshing my PHP (using it on and off, surely less than userRPL), I noticed that there is no similar function like KSORT for PHP arrays (that are like maps). That is, I found no built-in way to say "given an array of integers, order the values, but then please order the other array (containing the indexes) accordingly".
This is how ListExt spoiled me.
For reference: https://www.php.net/manual/en/array.sorting.php
This is how ListExt spoiled me.
For reference: https://www.php.net/manual/en/array.sorting.php