Games properly sorted and marked as ended whenever the game tree is clicked.
Working for possible ways to have this constantly update without clicking.