Adding the sort filter.