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

    Parameters

    list
    The list to be sorted
    propertyName
    The property name to sort by.
    sortDirection
    The direction 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