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
4
votes
1answer
85 views

Sorting a list of randomly generated numbers

This is a part two of a question I asked a few days ago and was answered rather spectacularly by user egreg, which you can find here. I'm now looking to take part of the LaTeX provided to me, and ...
4
votes
1answer
29 views

Natbib sorting with approximative (circa) years

The context is that I have to cite some old sources (music manuscripts) whose date is only approximative. The simple solution is to have this as "ca. 1710" or whatever is the approximative ...
1
vote
0answers
14 views

How can I modify the .bbl generated when I use the cleanthesis template?

I am using the cleanthesis template. For the bibliography, I use the options: bibsys=bibtex bibstyle=ieee, bibsorting=nyt, However, the references are not sorted by name. How can I sort them? Or, how ...
1
vote
0answers
22 views

Ordering citations by appearance [closed]

I'm new to Latex and I'm writing a report. My first citation is in an image. I got the first citation to be [1] but the second one by appearance comes as [5]. I have tried ieeetr style and that doesn'...
5
votes
4answers
119 views

Alphabetical sorting of a sequence of names

I have a long number of people to acknowledge in my thesis, and I was wondering if it would be possible to sort their names automatically, rather than doing it by hand. In other words, I would like a ...
0
votes
0answers
17 views

Sorting problem in index using imakeidx

I am doing a book in Malayalam using xelatex. The book has two indices, namely, name and subject, to generate which I am using imakeidx. However, some of the index terms are in English. They should ...
0
votes
1answer
14 views

glossaries newacronym sorts by short field, even if short is given as a command

For my documents, I like to define sub- and super-scripts (in German: Indizes) as commands with \newcommand{}{} to make a cascading structure of shortcuts for frequently used abbreviations. This has ...
1
vote
1answer
18 views

Xetex - sorting in a table

I have a table which has several columns, among them |Col. A|...|...|Col. B|...|Col. C|...| I want to print the table 3 times, one time sorted according to Col. A, next to Col. B, next to Col. C. ...
0
votes
1answer
24 views

How to do custom ordering with Datatool

So I have some data for a rock climbing guide I'm writing. In the last page I want to list all the routes, sorted by grade. The thing is that the conventional sorting doesn't apply here. Quick ...
0
votes
0answers
17 views

pgfplotstable: How to sort at several equal values

I sorted a table by X-values ascending. There are several equal X-values and I need them to be sorted by there corresponding Z-values descending. And maybe ascending Y-values, if X-values are equal ...
0
votes
0answers
26 views

pgfplotstable: How to sort a sorted table

Why is it not possible to use \pgfplotstablesort at a sortet table again? \pgfplotstablesort[sort key=Y, sort cmp=int <]\sorttable{\datatable} \pgfplotstablesort[sort key=X, sort cmp=int <]\...
0
votes
1answer
26 views

Biblatex: Two bibliographies with different styles and sortings II Part 4

The solution of moewe to the question Biblatex: Two bibliographies with different styles and sortings II Part 3 produces the desired output. Unfortunately, there is a special case where the output ...
0
votes
1answer
141 views

Biblatex: Two bibliographies with different styles and sortings II Part 3

Based on the solutions to Biblatex: Two bibliographies with different styles and sortings II and Biblatex: Two bibliographies with different styles and sortings II Part 2 given by gusbrs and moewe, ...
0
votes
0answers
20 views

Custom order in index

I would like to define a custom order on the keys in an index. I tried to set the desired order in glossaries descriptions and names, but it doesn't work (@ behaves differently than I expect). Can you ...
14
votes
3answers
881 views

How can I sort a list numerically?

Basically, I want to create a summary for a history class. Therefore a lot of years occur throughout the lectures. Does LaTeX allow to sort a list if I set it up like in the following example? \begin{...
1
vote
1answer
27 views

Sort bibliographic entries by order of appearance of citation call-outs in document

I would like to cite using \bibliographystyle{apa} and sort the cites in the same order they were called in the document. I'm using \usepackage[super,square,sort&compress]{natbib} but it isn't ...
0
votes
1answer
23 views

bibliography with APA-like sorting, volume, issue, doi, url: which bibliography style and options?

I have one question: which bibliography style should one use to get all references sorted APA-like, and with volume, issue, and doi (or URL, where a DOI does not exist; or nothing, where both DOI and ...
2
votes
1answer
29 views

Biblatex : Sorting in-text citations by year, and bibliography by name?

How to sort the in-text citations by year, but those of the bibliography by name? \documentclass{MastersDoctoralThesis} % Online template \usepackage[backend=bibtex,style=authoryear-comp, natbib=true, ...
0
votes
0answers
12 views

Sorting one csv file and get data from the second one placed in the right place in pgfplots

I have 2 csv files that looks like this : First one : class,met ABDOMINAL,341 ADVANCED-CAD,556 ALCOHOL-ABUSE,31 Second one : class,met ABDOMINAL,136 ADVANCED-CAD,100 ALCOHOL-ABUSE,13 I currently use ...
1
vote
2answers
47 views

Why in the TikZ code it produces two similar side by side results where shift is set 0 cm

In this code below \documentclass[10pt]{article} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture} \clip (-0.5,-0.75) rectangle (3.25,2.25); \foreach \pathname/\...
0
votes
1answer
34 views

Sorting multiple citations with natbib

I'm using natbib and an "apacite" bibliography style, in a report document class. I can easily do multiple cites. For example: \citep{hilary2019, james2013} Gives me: (Hilary et al., 2019; ...
1
vote
1answer
43 views

Sort cyrillic items in a numbered list

Let's say I've created a large numbered list of items with some cyrillic characters, but now I want to reorder them alphabetically. By the way the numbers at each item should also be reordered. I have ...
1
vote
1answer
30 views

Color alphabetically display the items in itemize with footnotes and indexing

This is an extension to a previous question: Color alphabetically display the items in itemize. I would like to have color in my sorted items with indexes and footnotes. The solution provided by ...
1
vote
1answer
27 views

Color alphabetically display the items in itemize

I am wondering whether it could be possible to color the items sorted alphabetically. This is an extension of the previous question. Alphabetically display the items in itemize Here is a MWE: \...
0
votes
0answers
39 views

Sort references (not authors) alphabetically

I am new to LaTeX and am trying to sort my references alphabetically. As I mentioned in the title I want to sort the references, but not the order of the authors. Here is the bibliography style that ...
0
votes
2answers
47 views

Sorting of Tibetan author name Si tu Chos koi ’byung gnas

I am using the document class scrbook. In the bibliography, there is only one entry where the author is a Tibetan. The bib entry looks like @book{si-tu_min_1990, location = {Sansal}, title = ...
1
vote
0answers
71 views

Index sorting with a mix of greek and roman letters and single letter index entries

A mix of Roman, Greek, and single letter index entries I am typing my thesis and have a mix of regular words, mathematics using greek symbols, and the occasional one letter word (such as the ...
4
votes
2answers
112 views

Change order of online sources

Assume we have several website entries and we would like to start citation in the text with a, followed by b, etc. Using standard biblatex notation as follows, it can occur that b comes before a: \...
1
vote
1answer
37 views

Sorting references of the same author of the same year ascending

I am citing three newspaper articles from the same author, they were issued in three consecutive days (October 23rd 2010 - October 25th 2010). Using Biblatex Chicago (authordate) they are sorted in ...
1
vote
2answers
93 views

How to reorder included pdf-pages for bulk cutting ? [for paper saving]

How to reorder included pdf-pages for bulk cutting ? [for paper saving] Situation and Problem I receive continuously updated lecture scripts as (A4) PDFs that I need to print. The text area ...
1
vote
1answer
72 views

Sorting issue with biblatex

For several years, thanks to this forum, I succeeded for my thesis to achieve a bibliographic style adapted to my needs. However, I just realized now that it is well developed, a sorting issue. I ...
2
votes
1answer
102 views

Sort the list of figures by caption

I would like to sort the list of figures by caption alphabetically (instead of the order of appearance). Something like List of figures 4 Aaaa 3 1 Bbbbb 1 8 Ddd dd 10 Is there a way?
0
votes
0answers
16 views

How to set 'siam' style in bibliography and sort the references by the citation order?

I have a .bib file whose style I would like it was siam. However, I want to sort the references by the order in which I cite them, but I have read on the Internet that I should change the style to ...
0
votes
0answers
26 views

Sorting of double surnames with biber

In my list of references, there is an author with a double surname, the first part of which is also the complete surname of another author. (This is not a case of name-changing after marriage): \...
0
votes
0answers
18 views

Ordering references with Mendeley

I'm using TeXstudio to write a document. For the references I'm using Mendeley Desktop (for scientific articles/books), that automatically puts the references in latex. I'm currently using this ...
0
votes
0answers
25 views

Printing list of url - define url to display the url in the document and key-text in the list

Related to the topic makeindex - print links sorted by page who derived from Auto generate List of \url usages within document. Everything works as expected but often, I want to display the url in the ...
1
vote
1answer
26 views

Sorting of 2 bibliographies in biber (biblatex)

I have two bibliographies in my PhD thesis. One of them is my publications which should be sorted by the year in which they were published, the other one is the references which should be sorted in ...
1
vote
1answer
91 views

Making and sorting index for Serbian (cyrilic)

How to make and sort index on cyrilic alphabet? Trying to make index with Serbian words: \documentclass{book} \usepackage[OT1, OT2]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english, serbian]{...
0
votes
0answers
21 views

index (or glossary) setup for sorting according to Tibetan Language sequencing

Dear Fellow TeXnicians, I am trying to find any constellation of package-setups that would allow me to provide a long list of vocabulary entries as an index (if need be, also via glossary package) to ...
0
votes
1answer
35 views

Is it possible to tell datatool to ignore certain characters when sorting?

I am making a index as a ";" separated csv file. The index is sorted with the datatool package. The column which is sorted contains utf8 encoded names, including apostrophes, eg. "'Tis" and "ev'ry". ...
1
vote
0answers
31 views

Using \noopsort when there is no author

I added a new entry type to my book, article and incollection functions called abbreviation. This way, dictionaries appear in the bibliography as my publisher wants them to appear : TLIO = ...
0
votes
0answers
25 views

Difficult alphabetic sorting with BibTeX [duplicate]

I added a new entry type to my book, article and incollection functions called abbreviation. This way, dictionaries appear in the bibliography as my publisher wants them to appear : TLIO = ...
0
votes
1answer
52 views

How do I sort all of the glossary entries in a .tex file?

I have a .tex file with many glossary entries like this: \newglossaryentry{term} { name=term, description={this is a term. } } I would like to sort these all so that the file is easier to ...
0
votes
0answers
24 views

Parametrically Sorting LaTeX Sections

I am trying to create a report with a few chapters, but each chapter with many sections. I plan to update the document each day with each day's entry being in a new section. I can do the entry either ...
0
votes
0answers
34 views

Overleaf; My citations are numerical as they should be, but they are out of order

I'm working in Overleaf and using IEEEtran.bst and natbib. My citations are numerical as they should be, but they are out of order. They should be listed in the order they are cited in the document. I ...
0
votes
1answer
77 views

Sorting tables alphabetically

I want to write a document with a couple tables, where the entries of the tables are sorted alphabetically. I found a solution here: Order table by row alphabeticaly But when I want more than one ...
0
votes
0answers
65 views

Alphabetical order went wrong, need advice

My tags are follows: \documentclass{book} \usepackage{natbib} \begin{document} Test \citealt*{dalrymple-etal1991} \citep{dalrymple-etal1998a} \bibliographystyle{mit-chicago} \bibliography{test} \...
3
votes
1answer
59 views

Natbib duplicated references with different citation keys

I am working with a co-author on a joint article. Our plan is simple: he writes one part of the paper and I write the other. We join our two parts and our two bib files, compile and are done. The ...
0
votes
0answers
47 views

Sort thebibliography by citation order when References is located before Appendix

Edit: Corrected MWE to include \natbib and removed superfluous code. I am using Overleaf compiled with XeLaTeX to write my document. I am using the solution given here to input and order my ...
1
vote
1answer
53 views

sort bib entries in alphabetical order of auther, biblatex [duplicate]

I use biblatex to create the formatted bibliography, and I want to order citations in an alphabetical order of auther's name and then publicated year by ascending. I post a picture to show what I want:...

1
2 3 4 5
11