I came across the following devshare recently, but this was written for BIRT 2.5, while I'm using BIRT 2.2.1.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1172-sorting-a-crosstab-by-a-field-not-in-the-crosstab/'>http://www.birt-exchange.org/org/devshare/designing-birt-reports/1172-sorting-a-crosstab-by-a-field-not-in-the-crosstab/</a><br />
<br />
The other issue is that I don't seem to be able to download the example, so I cannot actually validate that what I'm doing is correct.<br />
<br />
It seems to me that this would address my problem exactly, but I could not actually get the example working. I created the attribute, but on trying to setup the sort on the crosstab, I did not have the option to select the attribute directly. I therefore manually updated the XML for the key entry to match my attribute.<br />
<br />
At runtime, I got the following error :<br />
<blockquote class='ipsBlockquote' ><p>
The level name "dimension["Group1"]["CASETYPE"]["SORTORDER"]" is not found.<br /></p></blockquote>
<br />
Has anyone tried something similar?<br />
<br />
Rgds,<br />
Cedric