# How Should Blank Dates Sort?

**URL:** https://discourse.notenik.app/t/how-should-blank-dates-sort/241
**Category:** Community Discussion
**Tags:** closed
**Created:** [June 22, 2023, 4:34pm UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241 "2023-06-22T16:34:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [June 22, 2023, 4:34pm UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241/1 "2023-06-22T16:34:49Z")

</div>

Quick question for everyone. Right now, when Notenik sorts a Collection by the Date field, blank dates sort to the back of the list. Frankly, I can’t really remember why I set it up this way. But I’m thinking it might be better to have blank dates sort to the front of a list. Does anyone see a problem with this? Or have an opinion, one way or the other?

Thanks in advance for your thoughts.

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [June 22, 2023, 5:02pm UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241/2 "2023-06-22T17:02:22Z")

</div>

I like the idea of sorting them first so they call attention to themselves in the list (in case they need to be dealt with). At the end of the list, they are more likely to be ignored.

---

<div class="post-metadata">

### Author: ![marimba](https://discourse.notenik.app/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marimba](https://discourse.notenik.app/u/marimba)
#### Post date: [June 23, 2023, 9:58am UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241/3 "2023-06-23T09:58:53Z")

</div>

I prefer them at the back (I’m actually counting on that behaviour in one of my collections).

Could it be optional?

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [June 23, 2023, 2:05pm UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241/4 "2023-06-23T14:05:46Z")

</div>

Thanks for the feedback! Yes, it sounds like making it optional would be the best bet.

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [June 23, 2023, 5:41pm UTC](https://discourse.notenik.app/t/how-should-blank-dates-sort/241/5 "2023-06-23T17:41:58Z")

</div>

I’ve got the option working in a test build. It will be a new item at the bottom of the Sort menu, which is under the Collection menu. There’s already a Descending flag there, so I’m adding a Sort Blank Dates Last flag there, just below the Descending flag. Hopefully this will work for everyone!
