function Table.reverse(r)local X={}for v=#r,1,-1 do table.insert(X,r[v])end return X end
--[=[
	Reverses the list and returns the reversed copy

	@param orig table -- Original table
	@return table
]=]
function Table.reverse(orig)
	local new = {}
	for i = #orig, 1, -1 do
		table.insert(new, orig[i])
	end
	return new
end
