AtW said:Just look how they swap values in their sort:
byte item = items;
items = items[j];
items[j] = item;
They use temporary variable to do that, no doubt this requires little thinking![]()
AtW said:QuickSort is not always the most efficient - it depends on distribution of data and its possible to find cases that increases its runtime badly.
bogeyman said:Just out of interest - how did you do it ?
scotspine said:"They use temporary variable to do that" - ok, i'll bite, show me the atw way without a temp var...
Jabberwocky said:I could point you in the right direction but I'll let the ruskie show his ballcocks.

AtW said:Check out #1 result in SKA![]()