Sort cards by number, or name if there is no number.