L06 PP - added sortFunction() to sort the players in a list by their names.