Modified ChargeNumber to implement Comparable.