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