# Sort by date not working?

**URL:** <https://community.endnote.com/t/sort-by-date-not-working/281057>\
**Category:** EndNote General\
**Created:** [June 28, 2016, 1:18am UTC](https://community.endnote.com/t/sort-by-date-not-working/281057 "2016-06-28T01:18:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabzeng](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gabzeng](https://community.endnote.com/u/gabzeng)\
**Post date:** [June 28, 2016, 1:18am UTC](https://community.endnote.com/t/sort-by-date-not-working/281057/1 "2016-06-28T01:18:26Z")

</div>

Hi all,&nbsp;

It seems that my sort by date function is not working properly. There is an entry that is dated “2016”, but appears within the “In Press” entries [please see attached].&nbsp;

I’ve tried to re-enter the date, but it doesn’t seem to be working.&nbsp;

Any advice would be greatly appreciated!

Cheers

 ![Endnote sort by date not working.jpg](https://europe1.discourse-cdn.com/endnote/original/1X/8e6888f98f5e94e93bfeb71df18e2bf307b73869.jpeg)

---

<div class="post-metadata">

**Author:** ![crazygecko](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@crazygecko](https://community.endnote.com/u/crazygecko)\
**Post date:** [June 28, 2016, 1:17pm UTC](https://community.endnote.com/t/sort-by-date-not-working/281057/2 "2016-06-28T13:17:51Z")

</div>

The Date field is not being sorted in chronological order because the information entered in each record’s field is in a “month, year” format. This causes Endnote to begin the sort using the first piece of information: month.

As a workaround you could change the display to use the Year field instead of the Date field. However, if you need to have the month **and** year displayed in chronological order&nbsp;for the library window and the generated bibliography you could: 1) keep the Date field in the reference bibliography templates but create a second date field which would enable proper chronological sorting; 2) copy and modify the date data in the new date field; and 3) modify your output style’s sort options to sort on the new date field (instead of Date).

Which output style are you using and in your Endnote records do you have data in the Year field or just the Date field?

---

<div class="post-metadata">

**Author:** ![gabzeng](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gabzeng](https://community.endnote.com/u/gabzeng)\
**Post date:** [June 29, 2016, 2:25am UTC](https://community.endnote.com/t/sort-by-date-not-working/281057/3 "2016-06-29T02:25:21Z")

</div>

Thanks very much for your reply.&nbsp;

It doesn’t seem to be the case of having the month in the Date field as i"m sorting by Year.&nbsp;

I tried several more things, and the thing that seemed to work was to remove the Date field, add it back in again, and then sort by Year.&nbsp;

No idea why it was doing that still.&nbsp;

In response to your question, I have data in both the Year and Date fields =)

Thanks very much for your suggestion!!
