8000 Minor tweaks · symfony/symfony-docs@7c6922c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c6922c

Browse files
committed
Minor tweaks
1 parent b3242f6 commit 7c6922c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/finder.rst

Lines 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