# Task Query: Sort Tasks by process variable

**URL:** <https://forum.flowable.org/t/task-query-sort-tasks-by-process-variable/5318>\
**Category:** Flowable Engine\
**Created:** [January 29, 2020, 7:36am UTC](https://forum.flowable.org/t/task-query-sort-tasks-by-process-variable/5318 "2020-01-29T07:36:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [February 4, 2020, 6:50pm UTC](https://forum.flowable.org/t/task-query-sort-tasks-by-process-variable/5318/4 "2020-02-04T18:50:34Z")

</div>

You can see the output of any sql executed by the engine by setting the logging level (e.g. when using log4j):

`log4j.logger.org.apache.ibatis=DEBUG`

---

_[View the full topic](https://forum.flowable.org/t/task-query-sort-tasks-by-process-variable/5318)._
