Locate the directory style as explained in Locating directory style in the configuration.
The order of sort orders is the creation order in the configuration. 1.Select entire node from <Sort Name="... till </Sort> and cut it to the clipboard. 2.Make an empty line where you want to paste it, and then paste it. Note: stay within the same <DirectoryStyle>. |
Before deleting a sort order, make sure it is not referenced in any column of the given directory style. Sort order is referenced by the SortName attribute as in this example: <ColStyle Name="Title/Name" SortName="Title" Width="280"> To remove a sort order, select entire node from <Sort Name="... till </Sort> and delete it. |
Before renaming a sort order, make sure it is not referenced in any column of the given directory style. Sort order is referenced by the SortName attribute as in this example: <ColStyle Name="Title/Name" SortName="Title" Width="280"> To rename a sort order, locate Name in <Sort Name="... and change it. Change also all the occurrences in the <ColStyle... of the same directory style. |
Change the value of the PropertyName or IsAscending. You can add also additional sort keys, by adding new <SortDescription lines within the same <Sort Name...> <Sort Name="Type"> <SortDescription PropertyName="ObjectType.Name" IsAscending="true"/> <SortDescription PropertyName="[object.name]" IsAscending="true"/> </Sort> |
If you know the attribute name, search all xxx_config.xml files for the attribute - it is likely you may find a ready-to-copy example. If you find it, copy it, and paste it in a new line of the parent directory style. If the search fails, find the closest example, and then modify it according to your needs. |
Reimport the configuration file as explained in Re-importing configuration file in the database after making changes.