I have an array of DateTime?
objects and I want to sort them to render them on a webpage. The issue is that the ones with no value seem to show up at the top of the list and I want them to show up at the bottom.
What is the best way to sort an array of DateTime?
that will have the items with no value set show up at the bottom.
So instead of this:
- [No Value]
- Jan 1, 2013
- Jan 15, 2013
I want this:
- Jan 1, 2013
- Jan 15, 2013
- [No Value]