[math-fun] Next generation sorting algorithm