Lazy sorting, lazy shuffle