Home Forums eaDocX queries Sort order issue? Sort order issue?

Home Forums eaDocX queries Sort order issue? Sort order issue?

Ken Norcross

OK, ran across another example today and spent time investigating. Just to see what would happen I flipped the sort order from A-Z and Z-A. The results were not what I expected, and this led me to realize that there are two different stereotypes involved in the elements we are sorting, and the sort is treating it like there are two groups of things to sort.

These are all Activities, with elements that are straight BPMN 2.0 Activities, and then other elements that are a custom MDG stereotype that extends the BPMN 2.0 Activities.

The reporting and sorting is defined at the Activity level in eaDocX, I treat them both the same in the report.

So in the last example we had 7 Activities, 3 plain BPMN and 4 custom MDG Activities.

Activity alias 001, 003, and 006 are plain
Activity alias 002, 004, 005, and 007 are custom

A-Z sort yields 001, 003, 006, 002, 004, 005, 007
Z-A sort yields 006, 003, 001, 007, 005, 004, 002

This is also consistent with the other examples I have run across.

Let me know if you need more detail.

  • This reply was modified 10 years, 1 month ago by Ken Norcross.

Compare licence prices

Choose the licence that’s right for you and your team


Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.