python sorting - a list of objects,"sorted(L, key=operator.itemgetter('resultType'))"