Allow sorting maildir list in Lua.