Use an instance variable ID on the sprite. Say, if there are 10 instances, set the values in this variable from 1 to 10.
And add a global variable CurrentNumber=1
When a sprite is clicked, check if its ID=CurrentNumber. Add 1 to CurrentNumber if true.