Questions tagged [sorting]

{sorting} is about sorting document elements. Use this tag in addition to other tags specifying what should be sorted.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Changing abbrv.bst to sort first by year then by authors

As the title says - I'd like to change abbrv.bst so that references are first sorted by year (irrespective of authors) followed by authors, resulting in something like: [1] Jones, A., A paper, 2010. [...
jzz11's user avatar
  • 23
1 vote
0 answers
10 views

Biber tool mode: specify output field order in config file?

I often use biber’s tool mode to sort entries in a bibfile, following Using Bibtool to sort a bib file by types and keys alphabetically. I like to have the most salient fields of each entry listed ...
Peter LeFanu Lumsdaine's user avatar
0 votes
0 answers
9 views

Sorting a glossary based on description instead of name

I want to add a translation list in both Dutch-English and English-Dutch at the end of my work, in each list, also a reference should be made to the first time this glossary entry is used in the ...
Sam Coppens's user avatar
1 vote
1 answer
29 views

How to sort the results withing a staple diagram using pgfplotstable

I would like to be able to order the data in an ascendingly. In the code below I have commented out what the order I would like to achieve. I have done this buy sorting using a speardsheet. But what I ...
John W. de Burgh's user avatar
1 vote
0 answers
27 views

How to sort Biblatex bibliography by type?

I noticed the cool feature of Biblatex where you can subdivide bibliographies by using something like: \printbibheading \printbibliography[type=book,heading=subbibliography,title={Book Sources}] \...
It'sNotALie.'s user avatar
1 vote
0 answers
17 views

Sort references chronologically but keep list of references in alphabetical order using model2-names.bst

Is there any way I can modify the presort function in the model2-names.bst file so that the in-text citations can be sorted chronologically without changing the alphabetical order of citations in the ...
thematter18's user avatar
1 vote
1 answer
17 views

Nomenclature sorting italic

main.tex \documentclass[12pt]{report} \usepackage[intoc]{nomencl} \renewcommand{\nomname}{List of Abbreviations} \setlength{\nomlabelwidth}{6cm} \makenomenclature \begin{document} \include{...
palloc's user avatar
  • 157
0 votes
0 answers
13 views

Hierarchically printing "incollection" items beneath their "collection"?

I have a Bib(La)TeX database where every entry is either a book/collection, or an incollection item. I would like to generate a reading list from this database, and it is convenient if all the items ...
Willie Wong's user avatar
  • 23.1k
0 votes
1 answer
90 views

Kreisel before Kleene

For some reason Georg Kreisel is listed before Stephen Kleene in my bibliography. I use \usepackage[backend=biber,style=authoryear,sorting=nty]{biblatex} \renewbibmacro{in:}{}%To remove "In:"...
Sapiens's user avatar
  • 4,549
0 votes
0 answers
31 views

Sorting bibliography alphabetically by last name

I would like to cite my references in a document alphabetically by author's last name. I am using BibTek and the plain bibliography style. Here is a MWE using the plain bibliography style: \...
Ethan Alwaise's user avatar
5 votes
3 answers
91 views

Is there a way to sort index from Uppercases to lowercases

I'm using xindy to create indeces. However, the default sort order is not sensible for uppercase and lowercase. Is there a way to create a .xdy file so that the uppercases are sorted in front of ...
Gau-Syu's user avatar
  • 463
2 votes
1 answer
88 views

Sorting order in Marathi

I am creating a document in Marathi, using the package marathi. I want to add a subject index at the end of the document, which I can add by using the imakeidx package. But the sorting order of the ...
Sushant's user avatar
  • 117
1 vote
0 answers
37 views

Using Bibtex IEEEtran and sorting by citation [duplicate]

I'm currently writing my thesis, and I've got feedback about my bibliography not beeing numbered by order of citation. We have been provided a template to use, but it isn't 100% functional, because I'...
Ghost-Spot's user avatar
1 vote
1 answer
63 views

Have the abstract not change order of references [duplicate]

I am finishing up my thesis and have added an abstract at the beginning of the document in which I want to reference a few key papers. So far, i've been using the biblatex package with the biber ...
ljbkusters's user avatar
2 votes
1 answer
63 views

How to sort Bible books properly when using \bibleref and \imakeidx

I expect my Bible index to sort biblical books like 1-2 Samuel, 1-2 Kings, and 1-2 Chronicles under Hebrew Bible. But they are sorted after New Testament and I need help to sort them properly. My MWE: ...
Gildas Hamel's user avatar
3 votes
1 answer
72 views

Normalize given names from various sources

I retrieve (and receive) bibliography sources from many locations. As such, they're not always set using the same standard. Specifically, when it comes to given names, there's a lot of variation. For ...
Werner's user avatar
  • 595k
0 votes
0 answers
51 views

Latex nomenclature bracket

\documentclass[12pt]{report} \usepackage[intoc]{nomencl} \renewcommand{\nomname}{List} \makenomenclature \begin{document} \tableofcontents \nomenclature{b}{bus} \nomenclature{(h)}{house} \...
mala97's user avatar
  • 312
0 votes
0 answers
28 views

How to get rid of repeating references in latex order of appearance?

I am writing one of my article and when I am following citation I ended up with following issues. I want to follow the order of appearance in my citation. But when I am using one reference for the ...
Madhawa's user avatar
1 vote
1 answer
99 views

How to sort a biblatex bibliography by language, as indicated by a field in the bib file? [duplicate]

The following question is a duplicate of this question, but the duplicate has never received a fleshed out answer, and it was asked and answered 11 years ago. The following LaTeX document was saved ...
Evan Aad's user avatar
  • 10.8k
0 votes
0 answers
36 views

Resort Reference list and comma as separater

I'am trying to sort my biblatex reference list according to the rules of my university. It has to be the following: Surname, first name Title address Publisher Year Pages All of them are separated ...
Josip's user avatar
  • 1
0 votes
1 answer
56 views

\begingroup \endgroup changing citation numbers

Thanks "moewe I have solution like below: \documentclass[10pt,oneside,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage [left=3.5cm,right=2.5cm,tmargin=2.5cm,...
L. Flis's user avatar
  • 53
0 votes
1 answer
86 views

How to setup independent bibliography in alphabetical order and sorted from 1-11 at the end with previous using ref segment=chapter option

I hope this may be the last request to complete the topic. How to add to the bellow example one more bibliography based on the previous one but with numbers sorted from 1-11, somewhere in alphabetical ...
L. Flis's user avatar
  • 53
0 votes
1 answer
65 views

Additional bibliography in alphabetical order with sorting=none

My current working example (due to "moewe") is like below: \documentclass[10pt,oneside,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage [left=3.5cm,right=...
L. Flis's user avatar
  • 53
0 votes
0 answers
27 views

BibLaTeX Part 2 .... numbers of the Global Bibliography with sort from [1] with refsegment=chapter, sorting=none AND bibstyle=authoryear options [duplicate]

Due to "moewe" I obtined solution for numbering Global biblography with refsegment=chapter option. The problem was solved here: BibLaTeX and number of the Global Bibliography sort from [1] ...
L. Flis's user avatar
  • 53
0 votes
1 answer
49 views

biblatex reference numbers do not match in subbibliographies with different sorting

I want to add a subbibliography after the main bibliography with matching numeric references. The main bibliography is to be sorted in order of appearance sorting=none while the subbibliography must ...
jayanywhere's user avatar
3 votes
1 answer
68 views

How to Remove Bullets from an Alphabetically Sorted List

Consider the code \documentclass{book} \usepackage{datatool} \usepackage{enumitem} \newcommand{\sortitem}[2][\relax]{% \DTLnewrow{list}% Create a new entry \ifx#1\relax \DTLnewdbentry{list}{...
mlchristians's user avatar
  • 7,724
0 votes
1 answer
197 views

How to sort bibliography entries according to an option in \printbibliography?

I am trying to write a document in which bibliographies are sorted in descending order according to year. This is achieved using the option ydnt, but I want to provide this option as an argument to \...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
1 answer
150 views

Biblatex: how to automatically sort numeric citation by year (sortcites=ynt) when bibliography is sorted by citation order (sorting=none)

I'm using numerical citations. In LaTeX (in fact preferentially in LyX), would like to have a multiple-reference citation be sorted by year of publication [1,2,3]. That is, 3 was published after 2 ...
CPBL's user avatar
  • 746
1 vote
1 answer
46 views

How to select publications appearing in a bibliography by year range (for ex: only publication between 2017 and 2020)?

I am currently working on a CV, and I need to give a list of articles published between 2017 and 2022. Usually to obtain my complete list of articles I use a .bib containing all publications of all ...
Jeremi's user avatar
  • 21
1 vote
1 answer
33 views

Sort by Surname but without sorting number using natbib

There may be similar question, but none of them does really anwer the following one. I would like to have the references sorted by firt author's surname, but the number should correspond to the ...
user281528's user avatar
0 votes
0 answers
84 views

Cange export sort order in JabRef

I use JabRef to create my bibliography in LaTeX. When there are more than one references from a same author, I would like them to be ordered chronologically. However, the order is alphabetical, ...
Simba's user avatar
  • 115
3 votes
1 answer
419 views

Springer Nature: use multiple references

Here is the Springer Nature template. I can't add multiple references in this format: [1-4]; instead it is adding references as [1,2,3,4]. Here is my reference code. \cite{de_florio_physics-...
Prakhar Sharma's user avatar
1 vote
1 answer
59 views

glossaries-extra: Roman and arabic numbers wrongly sorted

Feeding \documentclass{book}%%% for debugging only. For production, I use svmono. \usepackage{amssymb} \usepackage[makeindex,toc,nogroupskip,nomain]{glossaries-extra}%%% similar issue with glossaries \...
user avatar
0 votes
1 answer
217 views

Sort citations by year (ynt) and references by name (nyt) in custom biblatex style

I would like to sort my bibliography alphabetically, but a list of citations in-text by year. This question is about the same problem. However, the answer given relies on wrapping \printbibliography ...
Heisenbugs's user avatar
1 vote
0 answers
57 views

Numerical citation using "unsrt" bibliography style out of order

As part of my thesis, I have a main file which imports individual chapter files using \input{}. However I am noticing something very strange with my chapter files. When I cite in the document itself, ...
tjsmert44's user avatar
0 votes
1 answer
106 views

Bibliography issues with biblatex

I'm a latex beginner and am currently trying to configure my bibliography. There are several issues: It sorts nty but I have specified nyt The author-name-sorting is wrong: it should be family, given ...
Val084a's user avatar
0 votes
1 answer
220 views

Merge many bibtex files and sort by year

I would like to merge many bibtex files and sort the combined file by year. I used \bibliography to merge but when I want it to order by year, it ordered by input file. So, each input file is sorted ...
MAYA's user avatar
  • 103
1 vote
0 answers
99 views

How to create an alphabetical attachment list that supports unicode characters?

I would like to be able to create a list of attachments similar to the list of figures or tables. However, since it makes little sense to sort the attachments by page number, I would like to sort them ...
B Legrand's user avatar
  • 435
0 votes
0 answers
122 views

Custom Alphabetical Order for Index (Turkish)

I need your help for building a proper index for a book in Turkish language. I am using \usepackage{makeidx} to build my index, which produces the following image as a sample. Here as you may see, ...
bkarpuz's user avatar
  • 2,407
2 votes
1 answer
105 views

\DeclareSortingTemplate: not working as expected

In the following MWE, I expect reference "B" to appear before "A" in the reference list, because sortyear should take priority over year. But I can't get that to happen after much ...
jessexknight's user avatar
  • 2,647
1 vote
1 answer
52 views

Bibliography style which sorts by year irrespective of authors, numerical citations

I'm looking for a BST style where all entries will be sorted by year, irrespective of authors, and would produce numerical citations, e.g. for the bibliography list [1] Smith, ..., 2000 [2] Smith &...
jzz11's user avatar
  • 23
0 votes
1 answer
234 views

Sorting strings containing Cyrillic and Latin characters at the same time

I have a problem with automatic sorting of lines containing information about authors of several articles, including Russian surname, first name and patronymic, other info, ORCID and e-mail. This ...
Crosfield's user avatar
1 vote
1 answer
314 views

Easiest way to get a date-of-appearance sort order for an alpha-style bibliography?

In a document class of mine, I use bibtex, and set up two bibliographies. One of sources actually cited by the document, and another one with extra references, printed separately. I want the style of ...
einpoklum's user avatar
  • 12.2k
0 votes
1 answer
19 views

Sorting bibliography by Journaltitle

I use Biblatex. I'd like to sort my bibliography by journaltitle (and then by date, or by author): is there a package or a bibliography style that does it?
slurpolo's user avatar
0 votes
0 answers
41 views

Sorting bibliography by order of appearance in main document. using a .bib file [duplicate]

I'm having trouble getting my bibliography sorted so that nr. 1 is the first one referenced in the document. the bibliography list it self is sorted by numbers, but I want to change it so that it ...
Laura Handberg's user avatar
5 votes
2 answers
135 views

Order of Entries in Index

I am working on an index of first lines for a poetry book and would like the punctuation of the lines NOT to affect the order in which they appear in the index. For example: Now entries appear in the ...
user257660's user avatar
0 votes
0 answers
29 views

Sorting Nomenclature

I am trying to sort my Nomenclature into strings, Numbers and symbols using the code \usepackage [stdsubgroups]{nomencl} in my LaTeX preamble but when I try to view my document I get the error below ...
Harr73's user avatar
  • 1
1 vote
1 answer
56 views

Sorting Contents of Macro (Not Literal)

In How to sort an alphanumeric list , there is a nice and short sort facility, which I am reproducing here: %% from https://tex.stackexchange.com/questions/6988/how-to-sort-an-alphanumeric-list \...
ivo Welch's user avatar
  • 3,643
0 votes
0 answers
23 views

My bib items are getting sorted in the first name of the author, but I want this with the second name

Please see below, a snapshot of my reference list: References Najla Aissaoui, Mohamed Haouari, and Elkafi Hassini. Supplier selection and order lot sizingmodeling: A review.Computers & operations ...
Jaimini Bhattacharyya's user avatar
1 vote
0 answers
127 views

list of symbols - separating greek letters

I am using a template which includes a list of symbols based on the glossaries package. The package is called as follows: \RequirePackage[nonumberlist,acronym,symbols,shortcuts,toc,translate=babel]{...
Sempft's user avatar
  • 21

1
2 3 4 5
12