class_docstr: Represents ordinals in Cantor normal form.
  
  Internally, this class is just a list of instances of OmegaPower.
  
  Examples
  ========
  >>> from sympy import Ordinal, OmegaPower
  >>> from sympy.sets.ordinals import omega
  >>> w = omega
  >>> w.is_limit_ordinal
  True
  >>> Ordinal(OmegaPower(w + 1, 1), OmegaPower(3, 2))
  w**(w + 1) + w**3*2
  >>> 3 + w
  w
  >>> (w + 1) * w
  w**2
  
  References
  ==========
  
  .. [1] https://en.wikipedia.org/wiki/Ordinal_arithmetic
code: def __new__(cls, *terms):
      obj = super().__new__(cls, *terms)
      powers = [i.exp for i in obj.args]
      if not all(
          powers[i] >= powers[i + 1] for i in range(len(powers) - 1)
      ):
          raise ValueError("powers must be in decreasing order")
      return obj
  
imports: from sympy.core import Basic, Integer
  import operator
label_desc: Use image node_id 1 for calling the Ordinal obj's underlying member method code with example usage: obj.__new__(cls) and returns: obj