Hi there,
while implementing a historic search on task instances I noticed that there is currently no way to order the search result by due date. My proposal would be to extend the HistoricTaskInstanceQuery with a orderByTaskDueDate method.
Are there any objections against this approach? If not, I would create a JIRA issue and attach a patch.
Thanks,
Thilo