> // bug, returns 47?
> // assert compareTo('aa1', '2' as Character) == 1those ones are fine actually, compareTo in Comparable only requires integers, not -1, 0, 1, and I'll assume that as long as the sign is valid, it's not a bug.
> // bug, returns 47?
> // assert compareTo('aa1', '2' as Character) == 1those ones are fine actually, compareTo in Comparable only requires integers, not -1, 0, 1, and I'll assume that as long as the sign is valid, it's not a bug.