fixing sort priority when switching from mult- to single sort.