Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Fusonic
Linq
Linq
orderBy
Fusonic\Linq\Linq::orderBy PHP Method
Linq Class Documentation
Show file
Open project: fusonic/linq
orderBy()
public
method
Sorts the elements in ascending order according to a key provided by $func.
public
orderBy
(
callable
$func
) :
Linq
$func
callable
A function to extract a key from an element.
return
Linq
A new Linq instance whose elements are sorted ascending according to a key.
public function orderBy(callable $func) { return $this->order($func, LinqHelper::LINQ_ORDER_ASC); }
Linq
__construct
aggregate
all
any
average
chunk
concat
contains
count
distinct
each
elementAt
elementAtOrNull
except
first
firstOrNull
from
getFirst
getIterator
getLast
getSelectIteratorOrInnerIterator
getSingle
getValueAt
getWhereIteratorOrInnerIterator
groupBy
intersect
last
lastOrNull
max
min
ofType
order
orderBy
orderByDescending
range
select
selectMany
single
singleOrNull
skip
sum
take
toArray
where