BearFramework\DataList::sortBy

Sorts the elements of the list by specific property.
public self sortBy string $property [, string $order 'asc' ] )
Parameters
property
The property name.
order
The sort order.
Returns
A reference to the list.
Details
Location: ~/src/DataList.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.