Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata


  • org.joget.commons.util.PagingUtils
  • Under wflow-commons module
  • Utility method used for sorting and paging an ordered list of data

Code Sample


public static void sort(java.util.List list, java.lang.String field, java.lang.Boolean desc)

Sorts a list based on a field value of object in the list 

public static java.util.List sortAndPage(java.util.List list, java.lang.String field, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

Orders the list based on a field value of object in the list and returns the results of a page

public static java.util.Map sortMapByValue(java.util.Map map, java.lang.Boolean desc)

Sorts a map based on a value

public static java.util.List subList(java.util.List list, java.lang.Integer start, java.lang.Integer rows)

Gets the results of a page from a List


  • No labels