I made this weird sorting algorithm
It does a general sort that sorts most of them correctly then cleans up the errors