Question

2
Replies
3266
Views
AnirDas1 Member since 2016 6 posts
Tata Consultancy Services
Posted: 3 years ago
Last activity: 3 years 5 months ago
Closed
Solved

Sort Page list based on two criteria

Hi,

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.

Thanks for your help in advance.

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn