Persist sorting criteria (in localStorage).