Lua Interface: Fix sort order