Orderless

WMA link


Orderless

is an attribute that can be assigned to a symbol f to indicate that the elements ei in expressions of the form f[$e_1$, $e_2$, ...] should automatically be sorted into canonical order. This property is accounted for in pattern matching.

The elements of an Orderless function are automatically sorted:

A symbol with the Orderless attribute represents a commutative mathematical operation.

Orderless affects pattern matching:

OneIdentity
Protect