Avoid flipping cards, by calling the collection sort function before ren...

...dering