Packagecom.adobe.portfolio.api
Interfacepublic interface ISort

Language Version : ActionScript 3.0
Product Version : Portfolio 9.0
Runtime Versions : Flash Player 10.1, AIR 2.0

This interface defines sorting criteria. To change the sort order, set ICollection.sort.

See also

ICollection.sort


Public Properties
 PropertyDefined By
  ascending : Boolean
[read-only] true if the sort is in ascending order; false if it is in descending order.
ISort
  name : String
[read-only] The name of the field to sort on.
ISort
Property Detail
ascendingproperty
ascending:Boolean  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 9.0
Runtime Versions : Flash Player 10.1, AIR 2.0

true if the sort is in ascending order; false if it is in descending order.

There is no direct way to change an ISort instance's ascending property. Instead, create a new ISort instance with the appropriate value and set ICollection.sort.


Implementation
    public function get ascending():Boolean

See also

nameproperty 
name:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 9.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The name of the field to sort on.

Note that this is the IField instance's name property, not its displayName property.


Implementation
    public function get name():String