Package | com.ericfeminella.collections |
Class | public final class CollectionSortUtil |
ICollectionView
.
See also
Method | Defined by | ||
---|---|---|---|
sortOn(key:String, collection:ICollectionView, caseInsensitive:Boolean = false, descending:Boolean = false, numeric:Boolean = false):void
[static]
Sorts a concrete
ICollectionView implementation,
such as ArrayCollection , based on a specified key. | CollectionSortUtil |
sortOn | () | method |
public static function sortOn(key:String, collection:ICollectionView, caseInsensitive:Boolean = false, descending:Boolean = false, numeric:Boolean = false):void
Sorts a concrete ICollectionView
implementation,
such as ArrayCollection
, based on a specified key.
key:String — property in which to base the sort
|
|
collection:ICollectionView — collection of items in which the sort is to be applied
|
|
caseInsensitive:Boolean (default = false ) — specifies if a caseInsensitive sort is to be applied
|
|
descending:Boolean (default = false ) — specifies if a descending sort is to be applied
|
|
numeric:Boolean (default = false ) — specifies if a numeric sort is to be applied
|