I have an array that has negative numbers in it which I would like to sort ascending, but neither normal sort nor <=> sort seem to have an effect on the array positioning.
I'm assuming this is because of the negative numbers involved. Anyone have a different <=> that would be able to sort negative numbers?