Revert back to unstable sort.

This avoids an internal copy of the data and swap trashing.