Archive for February, 2013
I’ve had several requests to show how to implement sorting following my previous posts on creating a simple SharePoint 2010 people directory and using a table based layout for a SharePoint 2010 people directory. This post shows how to implement custom sorting for the people directory so you can sort by first name, last name or any other managed property.
Step 1: Extend the search core results web part to support sorting
There are two search core results web parts that are capable of displaying list of people:
- Search Core Results – provides a generic way of displaying search results and supports sorting by relevance and modified date