Change the three Sort() functions' name to make it easier to understand