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)))
|
match)))
|
||||||
|
|
||||||
(defn sort-grubs [grubs]
|
(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]
|
(defn add-grub-event [grub]
|
||||||
{:event :add-grub
|
{:event :add-grub
|
||||||
|
|
Loading…
Add table
Reference in a new issue