Sage Modeling and Simulation Library

CompoundComparer Class

Provided with an array of Comparers, this comparer produces a comarison value that allows a list to be sorted on first one key (defined by the first element in the array), then by another key (defined by the second element in the array), and so on. There is no limit to the number of comparers that may be provided.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public class CompoundComparer : IComparer

Inheritance Hierarchy


Object
  Highpoint.Sage.Utility..::..CompoundComparer