   relevancy to sort. If true, use the temporal overlap script in elastic. This config allows
   temporal overlap calculations to be turned off if needed for performance."
   {:type Boolean
-   :default false})
+   :default true})
 
 (defn- doc-values-field-name
   "Returns the doc-values field-name for the given field."

  [query]
  (let [{:keys [concept-type sort-keys]} query
        ;; If the sort keys are given as parameters then keyword-sort will not be used.
        keyword-sort (when (keywords-extractor/contains-keyword-condition? query)
                       (keyword-sort-order query))
        specified-sort (q2e/sort-keys->elastic-sort concept-type sort-keys)
        ;; Keyword-sort contains temporal, this is for the case of temporal but no keyword
        temporal-sort (temporal-sort-order query)
        default-sort (q2e/sort-keys->elastic-sort concept-type (q/default-sort-keys concept-type))
        sub-sort-fields (if (:all-revisions? query)
                          collection-all-revision-sub-sort-fields
                          collection-latest-sub-sort-fields)]
    (concat (or specified-sort keyword-sort temporal-sort default-sort) sub-sort-fields)))

(extend-protocol c2s/ComplexQueryToSimple
  cmr.search.models.query.CollectionQueryCondition
  (reduce-query-condition
    [condition context]
    (update-in condition [:condition] c2s/reduce-query-condition context)))

   {(q2e/query-field->elastic-field :concept-seq-id :collection) {:order "asc"}}
   {(q2e/query-field->elastic-field :revision-id :collection) {:order "desc"}}])

(defn- score-sort-order
  "Determine the keyword sort order based on the sort-use-relevancy-score config and the presence
   of temporal range parameters in the query"
  [query]
  (let [use-keyword-sort? (keywords-extractor/contains-keyword-condition? query)
        use-temporal-sort? (and (temporal-range-extractor/contains-temporal-ranges? query)
                                (sort-use-temporal-relevancy))]
    (concat
     (when use-keyword-sort?
       [{:_score {:order :desc}}])
     (when use-temporal-sort?
       [{:_script (temporal-to-elastic/temporal-overlap-sort-script query)}])
     ;; We only include this if one of the others is present
     (when (and (or use-temporal-sort? use-keyword-sort?)
                (sort-use-relevancy-score))
       [{:usage-relevancy-score {:order :desc :missing 0}}]))))

(defn- temporal-sort-order
  "If there are temporal ranges in the query and temporal relevancy sorting is turned on,
