I have been pulling my hair out on this one because I cannot get the logic right (obviously).
What happens is my cards are dealt (into 4 piles) and then player 1's hand is resorted into A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2. The problem is while the sort works the cards in my deck are randomly dropping out. I can stop the resorting and all the cards remain (but out of order) so I know it can only by this line of code that is the problem.
Here is the link.
The line in question is 81 and I have striped it bare to avoid confusion and eliminate any other possibility of it being something else.
Any assistance in shedding some light on my error would be appreciated.