Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / CollectionEmulator Class / Sort Method / Sort<T>(IList<T>,IComparer) Method
The type of the list.
The list to be sorted
An IComparer defining how to compare two items in the list
In This Topic
    Sort<T>(IList<T>,IComparer) Method
    In This Topic
    Sorts an IList in place.
    Syntax
    [Extension()]
    public static void Sort<T>( 
       IList<T> list,
       IComparer comparer
    )

    Parameters

    list
    The list to be sorted
    comparer
    An IComparer defining how to compare two items in the list

    Type Parameters

    T
    The type of the list.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also