Sort list like portal sort?

Discussion created by ChrisJohnston on Nov 4, 2016
Latest reply on Nov 4, 2016 by ChrisJohnston

Is it possible to rearrange what the List function produces to be in the same order as the sort you have on your portal? I am asking because I want to use a custom function like this one to go to a specific portal row. With a function like this, it will not work on a sorted portal. I am figuring that you could rearrange your list to match the portal sort. If so it would work. Thanks