txt: ## order.md
  enum Order
  
  Human readable form for comparison operators.
  
  ```raku
  enum Order (:Less(-1), :Same(0), :More(1));
  ```
  
  # [Operators](#enum_Order "go to top of document")[§](#Operators "direct link")
  
  ## [infix cmp](#enum_Order "go to top of document")[§](#infix_cmp "direct link")
  
  ```raku
  multi infix:<cmp>(\a, \b --> Order:D)
  ```
  
  `cmp` will first try to compare operands as strings (via coercion to [`Stringy`](/type/Stringy)), and, failing that, will try to compare numerically via the `<=>` operator or any other type-appropriate comparison operator. See also [the documentation for the `cmp` operator](/routine/cmp#(Operators)_infix_cmp).
  
  ## [infix `<=>`](#enum_Order "go to top of document")[§](#infix_<=> "direct link")
  
  ```raku
  multi infix:«<=>»(Int:D \a, Int:D \b --> Order:D)
  ```
  
  Specialized form for Int.
  
  # [Typegraph](# "go to top of document")[§](#typegraphrelations "direct link")
  
  Type relations for `Order`
  
  
  
  raku-type-graph
  
  
  
  Order
  Order
  
  
  Int
  Int
  
  
  Order->Int
  
  
  
  Mu
  Mu
  
  
  Any
  Any
  
  
  Any->Mu
  
  
  
  Cool
  Cool
  
  
  Cool->Any
  
  
  
  Numeric
  Numeric
  
  
  Real
  Real
  
  
  Real->Numeric
  
  
  
  Int->Cool
  
  
  
  Int->Real
  
  [Expand chart above](/assets/typegraphs/Order.svg)
  