Sorting now works outside searches as well