Add operator< to TypeDesc, also conform the comparison arguments to usual.