App Studio

Version 4.2
How To
Documentation
    Learn More

      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.