Docs
Addons
Community
News
Documentation
/
API
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
BearFramework\DataList
Location: ~/src/DataList.php
back to index
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.