Use a correct sort when jittering

The old way sorted by (jittered(i), value), which meant that then the
jittering produces duplicate numbers, the results would sort by the
value.  The new way sorts only by jittered(i), so the value is
irrelevant, and they stay in the original order instead.