updated MatrixSorter, updated PokerHands