use makeStringSorter

and minor refactoring
Conflicts:

	tablemutt.js