# Author/editor sort order with LibreOffice

**URL:** <https://discourse.jabref.org/t/author-editor-sort-order-with-libreoffice/3345>\
**Category:** Help\
**Created:** [April 20, 2022, 7:30pm UTC](https://discourse.jabref.org/t/author-editor-sort-order-with-libreoffice/3345 "2022-04-20T19:30:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://discourse.jabref.org/u/Matt)\
**Post date:** [April 20, 2022, 7:30pm UTC](https://discourse.jabref.org/t/author-editor-sort-order-with-libreoffice/3345/1 "2022-04-20T19:30:03Z")

</div>

Hello,

I have a custom style file I made for use with Libre Office writer. Everything works well on export except that entries with only an editor (no author) are sorting separately at the end of the reference list, by first name.

I have AuthorField set to “author/editor”, but I don’t think that affects the sort order. Is there a way I can fix this in the style file, or is this a bug?

Thanks!

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [April 26, 2022, 2:22pm UTC](https://discourse.jabref.org/t/author-editor-sort-order-with-libreoffice/3345/2 "2022-04-26T14:22:46Z")

</div>

See the following github issue about bibliography sort order using the OpenOffice/LibreOffice integration: [Openoffice / LIbreoffice bibliography order · Issue #7805 · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/issues/7805)

It is mainly determined by the citation key and order of appearance of the citation in the document.

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [April 26, 2022, 2:24pm UTC](https://discourse.jabref.org/t/author-editor-sort-order-with-libreoffice/3345/3 "2022-04-26T14:24:16Z")

</div>

Creating a citationkey that both includes author and editor may be worth a try.

Edit: Excluding both author and editor from the citationkey could help too?
