DATAREDIS-294 - TypedTuple should allow sorting using java sort()

Updated comparable type information to allow usage with standard java sort which had been broken due to some `ClassCastException`.