%+header%> <% local function cmp(a, b) return (a.order or 100) < (b.order or 100) end for k, v in utl.spairs(nodes, cmp) do if v.dbtemplate then %>