Posted: 30 May 2017 20:55 EDT Last activity: 14 Jun 2017 12:57 EDT
Sort Page list based on two criteria
I have a issue where I need to sort a Page List with two criteria. Putting the below example to illustrate the issue.
Say, I have a page list X which contains apart from other number of properties, one dropdown property with three values namely A, B and C in each page of the X page list. It also has a Decimal property in each page of X page list. Now the requirement is to sort the page list based on above two properties where for the drop down values page should be sorted first in the order B, A, C (i.e. pages with B selected will be at the top followed by A and C) and then on previously sorted list the decimal property should be sorted in decreasing order.
Please let me know how to solve this issue at the earliest.