Sorting in ad-hoc report
You can sort elements on axes in ascending or descending order. You can define the sorting criteria based on the caption, unique name, or attributes of elements. You can create multiple criteria per dimension and apply them in defined order.
Sorting respects the hierarchy but you can break the hierarchy sorting. In this case, the sorting criteria are applied regardless of the hierarchy.