Product Selector

Fusion 5.9
    Fusion 5.9

    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.