From f44b0f4511ed268e3fc3a7d26550442f1a7b46fc Mon Sep 17 00:00:00 2001 From: Ravin Perera <62183347+ravinperera00@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:05:04 +0530 Subject: [PATCH] Fix incorrect word usage in array.bal (#1313) --- lang/lib/array.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/lib/array.bal b/lang/lib/array.bal index 5156ca4f..359b8c6d 100644 --- a/lang/lib/array.bal +++ b/lang/lib/array.bal @@ -182,7 +182,7 @@ public enum SortDirection { public type OrderedType ()|boolean|int|float|decimal|string|OrderedType[]; # Sorts an array. -# If the member type of the array is not sorted, then the `key` function +# If the member type of the array is not ordered, then the `key` function # must be specified. # Sorting works the same as with the `sort` clause of query expressions. #