This project is read-only.


Sorting item views by date/time fields sorts lexically, not by date value


When looking at a list of items in a folder, click on any of the date fields (DateTimeReceived, DateTimeCreated,LastModifiedTime, etc.). The items are sorted by the values in those fields, but they are sorted lexically, i.e. the date/time strings are treated as normal strings and put in alphabetical order. The result is that all the January dates come first, followed by February, etc., regardless of year.
This is a great project, by the way. I don't mean to sound ungrateful by filing this issue report. I just thought you'd like to know the error in order to correct it. Thanks for the good work.
Closed Aug 1, 2012 at 2:41 PM by mstehle


mstehle wrote May 11, 2012 at 10:27 PM

Thanks for the feedback and compliments. And thanks for using EWSEditor! I'll look to fix this soon. I've had it on my radar for a while.

wrote Jun 23, 2012 at 4:49 PM

Resolved with changeset 17909: Fixed this by adding SortCompare event and logic for DateTime. I thought I'd get this for free by specificing the column's ValueType but oh well.

mstehle wrote Aug 1, 2012 at 2:41 PM

** Closed by mstehle 6/23/2012 8:49 AM

mstehle wrote Aug 1, 2012 at 2:41 PM

wrote Aug 1, 2012 at 2:41 PM

wrote Aug 1, 2012 at 2:41 PM

wrote Feb 14, 2013 at 9:08 PM

wrote May 16, 2013 at 10:44 AM