Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/core-libraries/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ different values in the collection::
In order to specify in which direction the collection should be sorted, you need
to provide either ``SORT_ASC`` or ``SORT_DESC`` as the second parameter for
sorting in ascending or descending direction respectively. By default,
collections are sorted in ascending direction::
collections are sorted in descending direction::

$collection = new Collection($people);
$sorted = $collection->sortBy('age', SORT_ASC);
Expand Down