sort.lua fails the assertion at line 31: assert(not pcall(unpack, {}, 0, 2^31-1))
$ lua
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
> unpack {}
> unpack ({}, 0, 2^31-1)