   end
 
   @docs [
-    :doc_string,
+    :doc_break,
+    :doc_collapse,
+    :doc_color,
     :doc_cons,
+    :doc_fits,
+    :doc_force,
+    :doc_group,
     :doc_nest,
-    :doc_break,
-    :doc_group,
-    :doc_color,
-    :doc_force,
-    :doc_fits,
-    :doc_collapse
+    :doc_string
   ]
 
   defguard is_doc(doc)


  The following fields are available:

    * `:structs` - when `false`, structs are not formatted by the inspect
      protocol, they are instead printed as maps, defaults to `true`.

    * `:binaries` - when `:as_strings` all binaries will be printed as strings,
      non-printable bytes will be escaped.

      When `:as_binaries` all binaries will be printed in bit syntax.

      When the default `:infer`, the binary will be printed as a string if it
      is printable, otherwise in bit syntax. See `String.printable?/1` to learn


  @type t ::
          binary
          | :doc_line
          | :doc_nil
          | doc_break
          | doc_collapse
          | doc_color
          | doc_cons
          | doc_fits
          | doc_force
          | doc_group
          | doc_nest
          | doc_string

  @typep doc_string :: {:doc_string, t, non_neg_integer}
  defmacrop doc_string(string, length) do
