You can sort members in the Dimension Library (Shared Library and Application pane).
To sort members:
Right-click a dimension. Then, select Sort Members.
Select the sort order (Ascending or Descending).
Scripting on this page enhances content navigation, but does not change the content in any way.