Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / CollectionEmulator Class / Sort Method / Sort<T>(IList<T>,String) Method
The type of the list.
The list to be sorted
The property name to sort by.
In This Topic
    Sort<T>(IList<T>,String) Method
    In This Topic
    Sorts an IList in place.
    Syntax
    [Extension()]
    public static void Sort<T>( 
       IList<T> list,
       string propertyName
    )

    Parameters

    list
    The list to be sorted
    propertyName
    The property name to sort by.

    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