Modified BaseAccount compareTo(Object obj) method to ensure consist
result when used in equals() method