actually apply the sorting to settings