Sorts data points in one or more series. A custom sort can also be performed.
Note that if multiple series are sorted then the series must be aligned, otherwise an exception will be thrown. Refer to the Aligning Series topic for information on aligned series.
Overload | Description |
---|---|
Sort(PointsSortOrder,String,String) |
Performs a sort on one or more series' data points using the specified order. The sort can be based on any available data point value. Sort series data points in specified order. |
Sort(PointsSortOrder,Series) |
Performs a sort on a series' data points using the specified order. The sort is based on the first Y-value of data points. Sort series data points in specified order. |
Sort(PointsSortOrder,String) |
Performs a sort on one or more series' data points using the specified order. The sort is based on the first Y-value of data points. Sort series data points in specified order. |
Sort(PointsSortOrder,String,Series) |
Performs a sort on a series' data points using the specified order. The sort can be based on any available data point value. Sort series data points in specified order. |
Sort(IComparer,Series) |
Performs a custom sort on a series' data points. Sort series data points in specified order. |
Sort(IComparer,String) |
Performs a custom sort on one or more series. Sort series data points in specified order. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family