sort by fields in html

not yet affecting search