   Object
   (render
     [this]
-    (let [activites (:competition/activities (om/props this))]
+    (let [activites (sort-by :activity/position
+                             (:competition/activities (om/props this)))]
       (dom/div nil
         (dom/h2 nil "Time Schedule")
         (dom/table

  Object
  (render
    [this]
    (let [panels (:competition/panels (om/props this))]
      (log panels)
      (dom/div nil
        (dom/h2 {:className "sub-header"} "Domarpaneler")

    (log "Handle Q R")
    (if (vector? d)
      (let [clean-data {:competitions d}]
        (om/transact! reconciler `[(app/add-competition ~clean-data) :app/competitions]))
      (let [clean-data (uidb/sanitize d)]
        (om/transact! reconciler `[(app/add-competition ~clean-data) :app/competitions])))
    (om/transact! reconciler `[(app/set-import-status {:status :none})])
    (om/transact! reconciler `[(app/status {:status :running})])))
