Sort e.g. numerical grubs properly
This commit is contained in:
parent
c23bab8964
commit
a3dc09b335
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
match)))
|
||||
|
||||
(defn sort-grubs [grubs]
|
||||
(sort-by (juxt :completed get-grub-ingredient) (vals grubs)))
|
||||
(sort-by (juxt :completed get-grub-ingredient :grub) (vals grubs)))
|
||||
|
||||
(defn add-grub-event [grub]
|
||||
{:event :add-grub
|
||||
|
|
Loading…
Reference in a new issue