Legacy Product

Fusion 5.10
    Fusion 5.10

    pyramidSort

    Description

    Sorts values in a pyramid fashion

    Usage

    In HTML Template Binding

    {{ pyramidSort_expression | pyramidSort:field }}

    In JavaScript

    $filter('pyramidSort')(items, field)

    Parameters

    ParamTypeDetails
    itemsobject

    Array of values

    fieldstring

    The field to sort on.