implemented Ordered in Card.scala