local function T(T)local function G(T)return("\037\048\051\100\037\115"):format(string.len(T),T)end table.sort(T,function(T,o)return(tostring(T)):gsub("\037\100\043",G)<(tostring(o)):gsub("\037\100\043",G)end)return T end

local function alphanumsort(o)
	local function padnum(d)
		return ("%03d%s"):format(string.len(d), d)
	end
	table.sort(o, function(a, b)
		return tostring(a):gsub("%d+", padnum) < tostring(b):gsub("%d+", padnum)
	end)
	return o
end
