❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$users->sortBy($field, $direction = 'desc', $method = SORT_REGULAR)
Sort the collection by one or multiple fields
return
($users)
↑
Cheat Sheet overview
←
$users->slice($offset = null, $limit = null)
→
$users->toArray($callback = null)
↓
Back to Cheat Sheet section
Top