Doc: fix example in Array sort_custom()

(cherry picked from commit 5e8e216ee0)
This commit is contained in:
Damien Picard 2018-09-25 11:46:45 +02:00 committed by Rémi Verschelde
parent f35e821d57
commit f7bd6c1948
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@
static func sort(a, b):
if a[0] < b[0]:
return true
return false
return false
var my_items = [[5, "Potato"], [9, "Rice"], [4, "Tomato"]]
my_items.sort_custom(MyCustomSorter, "sort")