player 1's flush
AT76 2
beats player 2's flush
AT 652

you just match them up in order number for number until one of them has a bigger number.
so they both have an ace, tie
they both have a ten, tie
player 1 has a seven, player 2 dosn't
so, player 1 wins