Thanks a lot raising the idea. You've got my vote!
But hopefully I can help you to sort the attributes by yourself instead of wait for the official resolution.
Just follow some easy steps below:
1. Export the Domain you want to order:
- login to jaspersoft server as superuser (at http://<your jasperserver>:8080/reportservice)
- Open repository: View/Repository, and navigate to the Domain: (root/Organisations/<your org>/CA PPM/Domains)
- Right click on the domain; Export; Save the ZIP.
2. SORT the attributes in the SCHEMA.
- UNZIP the export.zip file somewhere
- Open the resources/organizations/<ORG NAME>/ca_ppm/domains/<YOUR DOMAIN_files>/schema.xml.data file in your favorite XML or text editor. (I prefer notepad++)
This file represents also the structure and order how the attributes are enlisted in the Fields and Measures pane in the Ad-hoc report
- Copy the xml node of what you want to sort into another XML file. let's call it: "schema_part1.xml"
- Download a small app that can sort you the xml, i.e: Xmlsorter: Xml Sorter - Home
- Use "Sort by specific attribute": label
- Save the sorted node into a file, let say "schema_part2.xml"
- !! Important: Check the fie enconding and change the line ending to Unix style if you use this XmlSorter, otherwise you might get an error.
- Replace the sorted XML code of the Node back to its original schema.xml.data
3. ZIP the domain export folder back to an "import.zip" file with the new schema.xml.data.
4. Using the jaspersoft admin page, import the new zip file
- Manage/Server Settings page
- Import the import.zip
Aaaand done.
I hope it will also work for you.
Tamas