Basically selection sort but worse, the selection takes nlogn by itself instead of n or logn so this is not even good
yey new meme algorithm