lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 25 Jul 2007 14:56:30 +0200
Alen Ladavac <alenl-ml@croteam.com> wrote:

> I have found the cause of this to be in the comparator function. It
> _must_ return false for elements that are equal, otherwise the results
> are just like this: either unsorted array, or array containing nils.
> 
> Perhaps this should be mentioned in the docs?
it is. at least for Lua 5.1.