mix up the games list and add a sort function