I've just checked in revisions to valuesort so it ought to work
for several types of values (ints, strings, and floats -- and at least
not blow up for any other types).
I've not had time to test, but my guess is that valuesort didn't
work unless the values attached to the elements were strings.
Does anyone know ?