Overrides DevExpress's base NodesComparer to customize and optimize sorting.
MaxNodesComparer sorts all Strings and non-comparable objects according to Windows Explorer-style natural sorting, whereby numerical parts of a string are sorted numerically instead of lexicographically. In other words, 101 will come before 1000. Optimizes by avoiding some of the unnecessary work done by the base class. We skip Custom sorting through an event, and we omit enhanced sorting, which orders objects by their position in the original underlying list.
Public Member Functions |
|
ExplorerNodesComparer (ExplorerTreeList treeList) |
MaxCustomControls::ExplorerNodesComparer::ExplorerNodesComparer | ( | ExplorerTreeList | treeList | ) | [inline] |