sorted getCards
getter for name