Skip to main content

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
1 vote
2 answers
62 views

How to divide a bibliography and use \nocite{*}?

I'm writing a document with xelatex. I want to cite all the references of my bibile, even those I do not cite in the text. I have a master document file : \documentclass[12pt,a4paper]{book} \input{...
happybobby's user avatar
3 votes
1 answer
59 views

Sorted table of data from elsewhere in a document

I am trying to provide a sorted overview of some data points at the start of my document, e.g.: +-----------+-----+---------------------+ | height | age | description | +-----------+-----+--...
Mark Koek's user avatar
  • 133
2 votes
1 answer
135 views

Why does "plainnat" not sort the author with natbib in LaTeX>

In the post, it says that the plainnat style in natbib can sort the references by alphabet. But I test it and find it can't. What is the reason? \documentclass[10pt,onecolumn,letterpaper]{article} \...
Y. zeng's user avatar
  • 2,105
0 votes
0 answers
48 views

How to force a specific entry to be last in natbib?

I'm writing a document in latex using natbib for bibliography management. My problem is that I need one specific entry last in the bibliography, with other references being ordered by citations. I use ...
Юрій Ярош's user avatar
0 votes
0 answers
43 views

Is it possible to use csf with BibTeXU?

I'm from the Persian/Farsi LaTeX user community. We should use bibtex8 for compilation and producing references in Persian/Farsi documents. To incorporate a different sorting order, we use a csf file ...
Farshad's user avatar
  • 11
2 votes
0 answers
65 views

Creating a dictionary

I'm trying to make a dictionary of terms which can include images or tables. My first idea was to use the glossaries package. I should clarify that I need it's a dictionary and glossaries package ...
Michael Rosales Vilca's user avatar
0 votes
0 answers
43 views

How to order citations by real appearence including in figures

I am trying to write text in LaTeX with multiple references while one of them is used in a figure caption. Figure is in a float environment, so in the LaTeX source file it is placed at a beginning of ...
rachel's user avatar
  • 1
6 votes
1 answer
204 views

Split a bibliography into (alphabetical) groups of authors

EDIT: I've simplified and clarified the question I am working on a very large bibliography (500+ entries) with the default nty sorting: (sort)author - title - date. I would like to single out one or ...
marquinho's user avatar
  • 1,777
1 vote
1 answer
49 views

Trouble with in-text citation sorting with biblatex

I have quite a bit of trouble getting my in-text citations sorted alphabetically using biblatex. I am using the 'apa' style with biber. Since APA7 recommends sorting in-text citations primarily ...
baltico's user avatar
  • 13
0 votes
0 answers
48 views

Citeauthor affecting sorting of reference list

I use the \citeauthor command to name-call someone (C. Cuthor), say because they gave the name to some theory or model. After calling the name, I want to cite the works of someone else (A. Author and ...
asbjos's user avatar
  • 43
1 vote
1 answer
51 views

biblatex reverse numbering

I found this great answer. However, I encounter alignment issues with >=10 references. For example: Notice how items >= 10 are indented more than those <9. I would like to follow the (...
Tom de Geus's user avatar
0 votes
1 answer
50 views

How to change sort order of items in index

The default sort order for items in my index is not what I want. By default, it seems all capitalized italicized words are in the first section of the index, sorted alphabetically; followed by all ...
crayman9's user avatar
4 votes
1 answer
47 views

`sorting=none` results in wrong order for ten or more references in one \cite{} [closed]

I want to create a bibliography with BibLaTeX, and since I want the references to appear in citation order, I use the package option sorting=none. However, at one point in my document, I need to cite ...
pks40's user avatar
  • 61
1 vote
0 answers
103 views

How to sort citations by year with \citep

How can I automatically sort the in-text citations by year? For example, I want that \citep{a2013,b1993,c2010,d2021} automatically yields (Author B (1993), Author C (2010), Author A (2013), Author D (...
sam wolfe's user avatar
  • 257
1 vote
1 answer
56 views

Vietnamese alphabetical sorting with glossaries-extra

I've got a problem with sorting glossary entries in my paper as follows: đ is supposed to come before p, but glossaries-extra doesn't recognize that. Here is my MWE: \documentclass[12pt, a4paper, ...
trequartista's user avatar
  • 1,900
1 vote
0 answers
24 views

Sorting datatool alphabetic first

I'd like to sort may data first alphabetic and then by upper and lowercase. Is that possible? Code: \documentclass{article} \usepackage{datatool} \begin{document} \DTLnewdb{teste} \newcommand{\...
Leonidas's user avatar
0 votes
0 answers
43 views

lyx: editing bibliography options AFTER bibliography is loaded

I am writing my PhD thesis in LyX 2.3.7 and have been trying to get my bibliography (built in JabRef) in the format i want but i can't seem to manage. The problems are the following: 1: I do not ...
Alfredo Spuri's user avatar
1 vote
0 answers
44 views

sortorder in biblatex

In the below example I get for the year in the second \printbibliography: 1960 1909a 1909b Is it possible to get the a/b also changed? 1960 1909b 1909a \documentclass{article} \usepackage[american]{...
user187802's user avatar
  • 17.4k
7 votes
2 answers
297 views

Random sorting of text items

I would like to produce random texts in which some specific items would be sorted and printed in a random order, varying at each compilation. The intended purpose is to remove any hidden bias in the ...
Denis's user avatar
  • 5,277
3 votes
0 answers
49 views

Wrong order of citations in floats (without list of figures)

I have a problem with the sorting of my citations when using an unsorted citation style within a floating envireonment (e.g. a caption). I found a similar question here, but the possible solutions don'...
Jakob's user avatar
  • 31
2 votes
1 answer
67 views

Correct BibLaTeX+Biber sorting when the same author published using different given names

In my bibliography I have entries by the same author, published using different given names. Biber (naturally) does not recognize the authors to be the same, and as a result, sorts the entries ...
Keelan's user avatar
  • 5,445
0 votes
1 answer
76 views

springer svjour3 is not arranging citations by order of appearance

I want to arrange citations by order of appearance on springer svjour3 (template files could be find here https://github.com/jperkel/computed_manuscript/tree/main) I tried to come up with a basic ...
alper's user avatar
  • 1,505
0 votes
0 answers
29 views

Include independent list of references, sorted differently from the main ref list, at an arbitrary location of the document

I have a pretty strict requirement for a document (I'm currently using memoir), which must: use biber/biblatex in the usual way based on a primary bib file (e.g., main.bib), and sort the resulting ...
Mathieu's user avatar
  • 569
0 votes
0 answers
36 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
2 votes
1 answer
38 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
12 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
43 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
44 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
42 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
32 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
1 answer
95 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:"...
Frode Alfson Bjørdal's user avatar
0 votes
0 answers
35 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
119 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
  • 473
2 votes
1 answer
223 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
87 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
99 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
166 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
  • 607k
0 votes
0 answers
32 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
0 votes
1 answer
115 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
  • 11.1k
0 votes
1 answer
82 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
94 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
124 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
28 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
50 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
2 votes
1 answer
81 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}{...
DDS's user avatar
  • 9,768
0 votes
1 answer
479 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
330 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
  • 758
1 vote
1 answer
84 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
43 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

1
2 3 4 5
13