Space or key i to generate and sort.
https://en.wikipedia.org/wiki/Merge_sort This will be used in my 3D engine in the future.