title: How to change z-index on sprite properly?
body: <p>I have google it and I know that properly way to add z-index is by order of creating but I have different situation.</p>
  
  <p>I'm creating card game and I want to move card on click and after that card should be on top which is not possible so I have solved in following way. </p>
  
  <p>In function which is called on card click I'm destroying that card and creating identically new card which is on top because it is created last.</p>
  
  <p>Is there another way of solving this situation?</p>
  
  <p>Thank you</p>