Sorting in Velocity

Olakunle Eso
Olakunle Eso Member, Data Exchange Posts: 1

I will like to sort a list of $documentSource.getDocument items using the velocity sortTool $sorter object. How do I go about doing this? Is there a specific declaration I need to make in my document to make the $sorter method available for me to use with the api? Thank you!

Comments

  • Philip Schlesinger
    Philip Schlesinger Member, Jama Connect Interchange™ (JCI) Posts: 62

    I haven't used it yet, but it looks like there's a $sortTool.sort() function that's used in various Community Reports