1

Sort[list] sorts the elements of list into canonical order.

As an example for sorting expressions: Sort[{y, x^2, x + y, y^3}] gives {x^2, y, y^3, x + y}

Could anybody please explain what is the canonical order for any expressions that applied in Sort?

user55777
  • 671
  • 3
  • 16
  • I have marked this as a duplicate because I think in essence it is the same as one I asked myself. If you disagree please let me know. Unfortunately there doesn't appear to be an official answer. – Mr.Wizard Mar 02 '20 at 10:05

0 Answers0