function CommonUtil.SortByName(e)function compareInstanceNames(e,S)return e.Name<S.Name end table.sort(e,compareInstanceNames)return e end return CommonUtil

function CommonUtil.SortByName(items)	
	function compareInstanceNames(i1, i2) 
		return (i1.Name < i2.Name)
	end
	table.sort(items, compareInstanceNames)
	return items
end
	
return CommonUtil
