       |> Enum.into(%{})
 
     categories
-    |> Sorter.ensure(@order)
+    |> Sorter.ensure(@category_starting_order, @category_ending_order)
     |> Enum.each(fn(category) ->
         print_issues(category, issue_map[category], source_file_map, config, term_width)
       end)

    warning: "Warnings - please take a look",
    consistency: "Consistency",
  ]

  @doc "Called before the analysis is run."
  def print_before_info(source_files) do

  alias Credo.Config
  alias Credo.Issue

  @category_starting_order [:design, :readability, :refactor]
  @category_ending_order [:warning, :consistency]
  @category_colors [
    design: :olive,
    readability: :blue,
