Sorting and Merging Lists



I have two lists - One with all the items and other with only the selected items. While displaying I have to have one list which displays selected items at the top and non-selected items at the bottom, both in the sorted order.


One with all the items may contain upto 1000 items(we enabled auto complete though for easy selection), so I am thinking the best ways in terms of performance.  Any thoughts in that regard will be appreciated.





**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

April 15, 2016 - 10:12am

Customise the results:

1. Add the selected items to a new page list.

2. Append the items when pyselected is false to the above page list such that u will have in sorted list.

3. And use those results.