It would _almost_ work to turn '-n' into an option that says: first sort by length, and then sort lexicographically within strings of the same length. That would correctly sort non-negative integers in any number base at all without needing to be told which base, as long as the digits are represented by characters whose ASCII ordering matches their semantic ordering. It would even correctly ignore 0x prefixes on hex numbers, if there were any.
Not quite, though. That policy wouldn't handle negative numbers, so you'd still have to make a special case for a leading minus sign. And if you were sorting non-integers, then you'd have to spot a decimal point, separate that and everything after it, and use that as a tertiary sort criterion. Ugh.