Skip to content

Commit c86fccc

Browse files
committed
Merge pull request godotengine#97033 from Daylily-Zeleen/daylily-zeleen/fix_sort_custom_description
Fix description of `Array.sort_custom()`.
2 parents a90660f + c6f7c89 commit c86fccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Array.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714
<param index="0" name="func" type="Callable" />
715715
<description>
716716
Sorts the array using a custom [Callable].
717-
[param func] is called as many times as necessary, receiving two array elements as arguments. The function should return [code]true[/code] if the first element should be moved [i]behind[/i] the second one, otherwise it should return [code]false[/code].
717+
[param func] is called as many times as necessary, receiving two array elements as arguments. The function should return [code]true[/code] if the first element should be moved [i]before[/i] the second one, otherwise it should return [code]false[/code].
718718
[codeblock]
719719
func sort_ascending(a, b):
720720
if a[1] &lt; b[1]:

0 commit comments

Comments
 (0)