Google Interview Question

Rank cards in a deck