Selected value of sort_on dropdown was not saved. 'on click' handler is too early, we need 'on change' for dropdown.