2.13.2 SortOrderSet Structure


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SortOrderCount

CategorizedCount

ExpandedCount

SortOrders (variable)

...

SortOrderCount (2 bytes): An unsigned integer. This value specifies how many SortOrder structures are present in the SortOrders field.

CategorizedCount (2 bytes): An unsigned integer. This value specifies that the first CategorizedCount columns are categorized. This value MUST be in the range from 0 to the value of the SortOrderCount field.

ExpandedCount (2 bytes): An unsigned integer. This value specifies that the first ExpandedCount field in the categorized columns starts in an expanded state in which all of the rows that apply to the category are visible in the table view. This value MUST be in the range from 0 to the value of the CategorizedCount field.

SortOrders (variable): An array of SortOrder structures. This field MUST contain the number of structures indicated by the value of the SortOrderCount field. At most, one of the structures can specify a multivalue property.