diff options
Diffstat (limited to 'modules/lua/lua.luadoc')
-rw-r--r-- | modules/lua/lua.luadoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/lua/lua.luadoc b/modules/lua/lua.luadoc index b0602cc7..7990f6e1 100644 --- a/modules/lua/lua.luadoc +++ b/modules/lua/lua.luadoc @@ -579,8 +579,9 @@ function table.remove(table [, pos]) end -- table. If `comp` is given, then it must be a function that receives two -- table elements, and returns true when the first is less than the second -- (so that `not comp(a[i+1],a[i])` will be true after the sort). If `comp` --- is not given, then the standard Lua operator ``io.lines`, this function --- does not close the file when the loop ends.) +-- is not given, then the standard Lua operator `<` is used instead. +-- The sort algorithm is not stable; that is, elements considered equal by the +-- given order may have their relative positions changed by the sort. function table.sort(table [, comp]) end --- |