       (dry-mode-warn options)
       (let [tpool (get-thread-pool options)
             pstore (pstore/elasticsearch-path-store es-url options)
-            sort (get-sort-or-not-fn (:sort options))
+            sort (get-sort-or-dummy-fn (:sort options))
             processed-data (process-metrics tenant rollups paths cass-hosts
                                             pstore options
                                             remove-obsolete-metrics-processor

  []
  (swap! inspecting? (fn [_] true)))

(defn- get-sort-or-not-fn
  "Get sort or dummy function."
  [sort?]
  (if sort? sort #(do %)))

        from (timec/to-epoch (time/minus (time/now) (time/seconds threshold)))
        title "Checking metrics"
        paths-rollups (combine-paths-rollups paths [(first rollups)])
        sort (get-sort-or-dummy-fn (:sort options))]
    (prog/set-progress-bar!
     "[:bar] :percent :done/:total Elapsed :elapseds ETA :etas")
    (prog/config-progress-bar! :width pbar-width)
