bool sortsBefore(Token other) { invariant(chainId == other.chainId, '$chainId incorrect'); invariant(address != other.address, '$address incorrect'); return address.hex.compareTo(other.address.hex) < 0; }