Users may notice that sorting does not work on metric values if they are placed in the header section a Report Services document.
STEPS TO REPRODUCE:


CAUSE:
This issue is caused due to the structure of the sorting architecture. The sorting definition of the document above is shown below:

There are only two sorting sections defined, Grouping and Detail. The sort definition for the Detail section has no effect on the Detail Header section. Typically there is only one row of data for the Detail Header when there is no grouping defined, hence the sorting functionality is not present for the Detail Header Section. If a user adds one or more attributes to the Grouping section, there are multiple Detail Headers, but each of them still has only one row of data. Thus, the detail header order defaults to the normal display (by ID), giving the appearance of being unsorted.