Sort with velocity

The following code will sort a list based on the title. You can see this in action on detail-article.vtl for the flickr slideshow.

  1. #set ($sortedList = $sorter.sort($myList,'title'))  
comments powered by Disqus