fix bug where 'sort_type' is lost when changing 'sort_key' from /View/sort