Fix sorting for composite cols that are marked as numeric

Incidentally, the implementation of size suffixes in the old db was
broken.