From c6f7c8914956498fc1d414688d3ee9683148fa2b Mon Sep 17 00:00:00 2001 From: Daylily-Zeleen Date: Sun, 15 Sep 2024 15:52:50 +0800 Subject: [PATCH] Fix description of `Array.sort_custom()` --- doc/classes/Array.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index f4dcc9bf68e..2a06b98d061 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -714,7 +714,7 @@ Sorts the array using a custom [Callable]. - [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]. + [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]. [codeblock] func sort_ascending(a, b): if a[1] < b[1]: