This only serves as a temporary solution until Joget make one or a better solution is available. The following solution has a limitation that is that the keyword ASC and DESC of all query variables within ORDER BY must be the same. (For example, 3 variables must be ASC , ASC , ASC not ASC, ASC, DESC.