Fix sort settings