$users->sortBy($field, $direction = 'desc', $method = SORT_REGULAR)

Sort the collection by one or multiple fields

  • return ($users)

Is something missing or incorrect? Edit this page on Github…