http://qs321.pair.com?node_id=1033056


in reply to Re^3: Check if sort has changed order (eq)
in thread Check if sort has changed order

That won't work for whatever sort condition.

Sure it will, its comparing memory addresses not data, so the sort condition is irrelevant; only relevant are how much ram you have and how you initialized the array; if the memory addresses aren't sequential before sorting, it won't work.

  • Comment on Re^4: Check if sort has changed order (eq)