Add compareTo method for Account.