PageArray/WireArray


Sorting and Filtering

$a->sort("property")

Introduced in Version 2.0

Description

Sorts the WireArray by the given item property (string). You may also specify the property as "property.subproperty", where property resolves to a Wire derived object, and subproperty resolves to a property within that object. Prepend a minus sign "-" to the property name reverse the sort.

Post Comment