Oh good grief - who wrote the algorithm for this sorting?