日時の値に基づいてマップを並べ替えようとしています。以下のコードは clj-time の関数を使用しています -
(def items {:a {:time (date-time 2013 12)} :b {:time (date-time 2013 11)}})
(sort-by #(-> % items :month) before? items)
IllegalArgumentException メソッドの実装がありません: :before? プロトコルの: #'clj-time.core/DateTimeProtocol クラスで見つかりました: nil clojure.core/-cache-protocol-fn (core_deftype.clj:527)
ただし、上記の例外が発生します。私は何を間違っていますか?