python sorting - a list of objects,s.sort(key=operator.attrgetter('resultType'))