diff options
| -rw-r--r-- | Model.hs | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -72,7 +72,8 @@ withTypes vals = do | |||
| 72 | instance Ord Item where | 72 | instance Ord Item where |
| 73 | x `compare` y = mconcat cmprs | 73 | x `compare` y = mconcat cmprs |
| 74 | where | 74 | where |
| 75 | cmprs = [ comparing itemOpened x y | 75 | cmprs = [ comparing (isNever . itemExpires) x y |
| 76 | , comparing itemOpened x y | ||
| 76 | , comparing itemExpires x y | 77 | , comparing itemExpires x y |
| 77 | , (comparing not `on` itemRunningLow) x y | 78 | , (comparing not `on` itemRunningLow) x y |
| 78 | , comparing itemKind x y | 79 | , comparing itemKind x y |
