A sort wrapper enabling both use of random-access sorting on non-random access containers, and increased performance for the sorting of large types.