Straights in poker not evaluated properly

I just lost a 300-400K pot in high stakes poker that I should have won.

My opponent had a 10 high straight, 6-10. I had a King high straight, 9-K. I still lost the hand.

It seems like the current code doesn’t take into account the idea of “higher” straights. I’d recommend looking at the same code for flushes as well. E.G. An ace high flush should beat a 10 high flush.

Thanks for your continued efforts to make an already great game, great. big kiss