fixed the sortCards, etc