change "number" sort option to "int" and adjust docs.  Rewrite acceptance test to be much easier to read and maintain, and add more cases.  Change int and real sort predicates to ignore anything after the number.