in reply to Re^3: Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1
in thread Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1

I did, that's why I said it fails if there is a zero in the data. I am still thinking whether it can be saved in some way without extra checks for zero.

  • Comment on Re^4: Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1