Workflow generation: sort worklists so that the result is constant.
Merge pull request #26 from 4teamwork/jone-sort-workflows

Workflow generation: sort worklists so that the result is constant.