A Measure object that specifies a measure by which values of this data item should be sorted.
Use the SortByMeasure property to enable sorting by a measure. To do this, assign a measure that should define the sort order to the SortByMeasure property. Use the Dimension.SortOrder property to specify the sort order.
You can only sort by a measure that is either displayed in the same dashboard item or added to its DataDashboardItem.HiddenMeasures collection. Otherwise, if you assign a measure that does not correspond to the current dashboard item, nothing will happen.