Sorting search items and properties.