Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.StableSortInPlace(IList, IComparer) Method

A simple stable sorting routine - far from being efficient, only for small collections.

[Visual Basic]
Public Overloads Shared Sub StableSortInPlace( _
   ByVal input As IList, _
   ByVal comparer As IComparer _
)
[C#]
public static void StableSortInPlace(
   IList input,
   IComparer comparer
);

Parameters

input
input collection of items to sort
comparer
the IComparer for comparing 2 items in input.

Return Value

a new collection of stable sorted items.

Remarks

Sorting is not(!) done in-place. Instead a sorted copy of the original input is returned.

See Also

CollectionUtils Class | Spring.Util Namespace | CollectionUtils.StableSortInPlace Overload List