global
def <=>(other)
def <=>(other) i = 0 while i < length && i < other.length if self[i] != other[i] return self[i] <=> other[i] end i += 1 end return length <=> other.length end
def <=>(other) i = 0 while i < length && i < other.length if self[i] != other[i] return self[i] <=> other[i] end i += 1 end return length <=> other.length end