'Return True if self is less than other when the partition
is listed from smallest to biggest.
Examples
>>> from sympy.combinatorics.partitions import IntegerPartition
>>> a = IntegerPartition([4])
>>> a <= a
True'

def __le__(self, other):

    return (list(reversed(self.partition)) <= list(reversed(other.partition)))
