Sort team by name, prepare random order