function CommonUtil.SortByName(i)function compareInstanceNames(i,F)return i.Name<F.Name end table.sort(i,compareInstanceNames)return i end return CommonUtil
-- Instances have a "Name" field.  Sort
-- by that name,
function CommonUtil.SortByName(items)
	function compareInstanceNames(i1, i2)
		return (i1.Name < i2.Name)
	end
	table.sort(items, compareInstanceNames)
	return items
end

return CommonUtil
