In text citations not in numerical order

I have a document with about 100 citations that seem to be numbered in the order I inserted them instead of in order from the beginning to the end of the document (5, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 2, 3, 4...). The bibliography is correctly in numerical order. I have tried refreshing the document. I've tried changing the style to one that uses authors last name and the year before changing back to Nature style, but my references are still not in order from beginning to end. I'm using Nature style with the Word plugin and Zotero version 6.0.27. I've tried a new document and it works fine, but I have a lot of text and references in this document. I'd prefer not to start over.
  • What happens if you move your cursor into one of the citations that's not in order and click "Add/Edit Citation"?
  • Nothing changed. I tried it both on the first citation (5) and a later citation (1-4), but neither changed anything.
  • Are any of these in tables or captions?
    Also, I'm still curious what exactly *happened* -- did the edit citation dialog come up as expected?
  • None are in tables or captions.
    The edit box came up. First I just hit enter without editing the citation, but nothing changed. Then I tried again deleting the 1-4 citation that was there and putting in a different citation. That worked. Then I put the manuscripts for 1-4 back in, and they were still numbered 1-4 even though 5-14 are cited earlier in the document.
  • I don't recall this ever coming up before. Last thing I'd try would be to copy and paste the whole thing into a new doc -- you could try doing this both as a whole and if that doesn't change anything, see if smaller chunks make a difference. (That'd be step 5 here: https://www.zotero.org/support/kb/debugging_broken_documents -- most of the rest either doesn't apply or you've already done, I'm not sure step 11 really applies in this case.

    Beyond that, I think @adomasven would probably need to look at this
  • Restarting my computer fixed it. Thanks for your suggestions adamsmith.
  • edited February 23, 2024
    I am also having this issue. Restarting my computer did not resolve it for me. I am working on a Macbook Pro in Word using the Zotero plug-in and AMA style. My citations refresh just fine, and the bibligraphy at the end is in order, but my in-text citations are all over the place:

    ·   Community Identity4,5,6, 16,17,18,9
    ·   Collective Action4,5,19,10,20
    ·   Social Ties and Support3,4,21,6,19,17,7,18,9,11,12,13,14,22

    I watched it update the in-text citations, but it does not reorder them so they are in numerical order.
  • That's the standard AMA style? How does that look in a fresh document for testing?
  • Did you resolve this issue? I am having the exact same problem - same hardware and same citation style.
  • Same question as my last post.
  • Can you clarify what you're asking?
    For me, the in-text citations appear out of order, like this:

    Text30,100,31-33, 5

    instead of:
    Text5,30-33,100

    In other documents it is correct. This only happens in one document that I am working on with a collaborator. She is also using Zotero, but I suspect the problem has to do with having 2 people working on it.
  • What happens when, in that document, you switch to a completely different citation style (like APA) and then back? And how do the citations look in APA style?
  • It switched to APA just fine, was not fixed when I switched back to AMA:

    clinical narratives.89,92,90,93,94,91

    Although interestingly, in APA the citations are also out of order:

    clinical narratives.(Friedman et al., 2004; Friedman & Johnson, 2006; Demner-Fushman et al., 2009; Savova et al., 2010; Doan et al., 2010; Ö. Uzuner & Stubbs, 2015).

    These should appear in alphabetical order, but instead they appear in the order they were entered into the "Add/edit citation" field in Zotero. If I drag them into the correct alphabetical order in the Zotero "Add/edit citation" field, they appear in the correct alphabetical order in the APA document, but now in a different incorrect order in AMA:

    clinical narratives.90,92,89,93,94,91
  • If you edit a citation and click on the small triangle at the left, do you see "Keep sources cited" checked? It should be.
    https://s3.amazonaws.com/zotero.org/images/forums/u2433/b14b605vsec84d1egtpn.png
  • That worked! Thank you!!
Sign In or Register to comment.