Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c6922c

Browse filesBrowse files
committed
Minor tweaks
1 parent b3242f6 commit 7c6922c
Copy full SHA for 7c6922c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎components/finder.rst

Copy file name to clipboardExpand all lines: components/finder.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,11 @@ You can also define your own sorting algorithm with ``sort()`` method::
194194

195195
You can reverse any sorting by using the ``reverseSorting()`` method::
196196

197+
// results will be sorted "Z to A" instead of the default "A to Z"
197198
$finder->sortByName()->reverseSorting();
198199

199200
.. versionadded:: 4.2
200-
The ``reverseSorting()`` method to reverse the sort order was introduced in Symfony 4.2.
201+
The ``reverseSorting()`` method was introduced in Symfony 4.2.
201202

202203
.. note::
203204

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.