included code to put sort order in localStorage - not yet working