This month's issue of the Journal of the ACM (subscription) presents an algorithm for in-place sorting which claims at worst O(n log n) comparisons and O(n) moves. From the paper: The Algorithm in a Nutshell Using an evenly distributed sample a1, . . . , af of size Θ(n/(log n)4), split the remaining elements into some segments σ0, σ1, . . . , σf , of length Θ((log n)4) each, so that all elements in the segment σk satisfy ak ≤ a ≤ ak+1. The sorted ar...