function(s) -- compare
function compareNames(s1,s2) { if (s1.input > s2.input) return 1 else return -1; }