From f7b3eb64bb09061238fb99710e90370aa774c31a Mon Sep 17 00:00:00 2001 From: rxi Date: Sun, 11 Jan 2015 15:27:06 +0000 Subject: [PATCH] Fixed typo in lume.sort()'s README section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c4f65e..3116071 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Returns a shuffled copy of the array `t`. ### lume.sort(t [, comp]) Returns a copy of the array `t` with all its items sorted. If `comp` is a function it will be used to compare the items when sorting. If `comp` is a -string the it will be used as the key to sort the items by. +string it will be used as the key to sort the items by. ```lua lume.sort({ 1, 4, 3, 2, 5 }) -- Returns { 1, 2, 3, 4, 5 } lume.sort({ {z=2}, {z=3}, {z=1} }, "z") -- Returns { {z=1}, {z=2}, {z=3} }