If you have each card as a separate instance, you could do this
For each sprite ordered by random(1) ascending
—- sprite: set animation frame to loopindex
If you want to just get a number one at a time you can either make an array with all the numbers and randomly taking one out. Blackhornet also made a nice plugin to do that.