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

learn more… | top users | synonyms

1
vote
1answer
58 views

Sorting latex tables automatically

As the part of my thesis, I have more than 20 tables. I need to sort the alphabetically. The tables are in following format: \begin{table} \label{tab:first} \begin{tabular}{lllllll} ...
1
vote
2answers
35 views

glossaries use of sort key

after reading the manual of the glossaries packages I was under the impression that when you use the sort key that it would be sorted alphabetically according to the text given in this sort key. ...
0
votes
1answer
33 views

Bibtex item sorting and error item missing

I'm just starting with Latex and Bibtex, and now I've got a problem with the bibtex sorting. I am writing a bachelorthesis, where we have set a specific .bst file, the natdin.bst. We have to sort the ...
2
votes
1answer
68 views

How to sort entries in a .bib file with biber

My question is similar to How to sort a .bib file with biber? I have a .bib file which is generated by Mendeley. Because it is generated, the entries are not formatted nor ordered. Also the order ...
2
votes
0answers
22 views

Compiling Documents Based on Keywords in a Longer Text

I'm a teacher and I use LaTeX for all my exams. I would like to create a database of exam questions and attach multiple keywords to each question. Then, I would like to be able to generate a ...
7
votes
3answers
99 views

Sort sections according to alphabetical order

Is it possible to tell latex, that it should sort the sections you used in your document according to their alphabetical order in the final pdf document? I.e. I want to have something like this ...
0
votes
0answers
29 views

Bibliography alphabetic ordering

comrades! Again, i've faced the problem of bibliography sorting with no clue how to deal with it. The issue is in the fact, that the specific requirments for russian papers make me use custom-made ...
1
vote
1answer
26 views

Sort References Yearly?

I need to Sort my references yearly, right now i have tried unsrt, plain. both of them are not working. I have written my bib file according to year though. All i need is to have my references sorted ...
2
votes
0answers
33 views

How to modify the sorting of cleveref?

In the backmatter of my document I have the part with plates. Each page is one plate with several figures in it. The counter for the figures starts on each page/plate, but the number of the figure ...
3
votes
1answer
58 views

How to sort bibliography by languages in bibtex?

As an absolute newbie in Tex-related stuff, i need your advice. I'm making an article in online version of Tex - sharelatex.com, so i need to sort the bibliography from .bib-file for my article by the ...
1
vote
1answer
33 views

create bibliography in the order as the input in bibtex using elsarticle

I am trying to put my article in the revised version using "elsarticle.cls", format "number" and bibtex as required by the journal. My question is that the bibliography is created in the order of ...
4
votes
2answers
52 views

Sort array of words by length

I have a long array of words which I need to show in increasing order of length. I have tried to use the package arraysort and customize a comparator. My simplified code is: \documentclass{article} ...
1
vote
1answer
23 views

bibtex sort in alphabetical order with href

I have the following in my references.bib file. @Misc{ref1, Title = {\href{http://www.ref1.com}{aaa}} } @Misc{ref2, Title = ...
2
votes
1answer
66 views

sorting publication list

I am trying to sort my publication list with year and month to differentiate publications from the same year. I am kind of struggling to get this right. I used one of your implementation and i manage ...
1
vote
1answer
60 views

Bibliography: how to move 'MISC' category to end of bibliography, and make 'BOOK' category first

I have many books in bibliography and also need to have 2 websites. I have added it as 'misc', but it appeared at the beginning of bibliography. Could someone help me and tell how to make the 'books' ...
2
votes
1answer
36 views

Change alphabet for sorting in biblatex for same year

I take MWE from here Sort bibliography with same author and same year (biblatex) \documentclass{article} \usepackage{filecontents} \usepackage[style=authoryear,sorting=nyt]{biblatex} ...
0
votes
0answers
40 views

Sorting macros by their first argument

Let's say I have a document consisting mainly of ''task''-macros that are defined as following: % bold titles \newcommand{\mypar}[1]{{\bf #1:}} %task decription template \newcommand{\task}[3]{ ...
0
votes
0answers
51 views

How to sort citations?

I have a template for my thesis which is shown below (main.tex and studchapter.tex). Now, I have problems with citations. Let's say I have the following sentence: It is generally known that this ...
2
votes
0answers
22 views

Sorting bibliography entries of similar author (First author) and year in apa-good style

I need to sort my bibliography (apa-good style) by only the first author (A) and year of the paper. Example: A, R, T, N, T (2016) Extraction.. A, G, T (2015) Analysis... But now the result is: A, G, ...
4
votes
2answers
72 views

How can I use \dtlsort with different alphabets?

Relevant to my other question regarding Norwegian, I need to sort a number of items alphabetically. I use this code to collect a list of items defined by \vocab into a database called vocabsort. ...
1
vote
0answers
57 views

How to sort my bibliography alphabetically? [closed]

I use BibTeX to write the references. But LaTeX change the order of the references (I have written them alphabetically). So, what LaTeX does, is to put them in an order how there exist in the text. ...
2
votes
1answer
57 views

Using acronyms for institutions in citations messes up sorting in the bibliography when using “author-year”

I would like to abbreviate "European Commission" by "EC", also when citing a document of the EC. The problem is that the abbreviation will only be introduced when I write "\ac{EC}" (using the acronym ...
6
votes
3answers
100 views

Alphabetical ordering of items composed of macros in itemize

This is a continuation of the topic: Alphabetically display the items in itemize But sadly I don't have the necessary reputation to comment there. Method proposed by @Werner works perfect, even when ...
1
vote
0answers
67 views

Sorting references by first author's first name [closed]

I am writing a paper to a journal that requires me the bibliography using numbers in brackets and ordered by authors first name as the following example shows: [1] B. Newman and E.T. Liu, Perspective ...
2
votes
1answer
60 views

Incorrect order of references

I am preparing a draft in two column format, but unfortunately I have a major problem: I have written my references in a separately text file and called that art-bib, also I have used of ...
6
votes
2answers
93 views

How to perform lexicographic sort on list of coordinates in LaTeX?

I need to sort a list of TikZ coordinates, first by increasing X coordinate and then by increasing Y coordinate. At the moment I do this by invoking an external Python shell, but it would be nicer to ...
1
vote
0answers
22 views

Acronyms package - sort acronyms alphabetical order ShareLatex [duplicate]

I'm using: \begin{acronym} \acro{URL}{Uniform Resource Locator} \end{acronym} with package \usepackage[printonlyused]{acronym} But my acronyms are not alphabetical sorted , and I want it. How can ...
1
vote
1answer
86 views

biblatex - Sort cites via number (split bibliography)

This is a follow-up question to biblatex - Consistent numbering in split bibliographies. My bibliography is split into two parts via categories. The entries are numbered consecutively and I want to ...
25
votes
4answers
476 views

Expandable (quick) sort array macro?

I'm trying to implement a (quick) sort algorithm. Here is what I can do : \documentclass[preview, border=7mm]{standalone} \usepackage{pgffor} % \push{xs}{\i} add \i in the array \xs ...
3
votes
1answer
106 views

Biblatex: Sorting citations in qualified citation list \parencites

Following the answer http://tex.stackexchange.com/a/70183/56450, I was trying to get a correct sorting for keys in a \parencites command including pre- and post-notes. Is there an equivalent way to do ...
3
votes
1answer
21 views

Biblatex: Local change in sorting order in references

Is it possible to generate a local change in the sorting order in the references? I'm using the authortitle-icomp style which is working very well for me. There is just one minor problem. I would like ...
1
vote
1answer
46 views

Lost \dotfill After The texindy command

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[turkish]{babel} \usepackage{makeidx} \usepackage{multicol} ...
8
votes
1answer
93 views

How to sort a .bib file with biber?

I try to use biber (version 2.1) tool mode (--tool) to sort my .bib file using the standard sorting configuration in the manual, but no matter what I do and no matter how I tweak the sorting ...
3
votes
1answer
55 views

Sort bibliography by origdate

Is there a way to sort a bibliography using origdate as a criterion. I tried to define a new sorting scheme but it doesn't work. What's wrong with it. Minimal example : \documentclass[12pt]{book} ...
5
votes
1answer
57 views

Grouping sorted bibliographyies by langid

I know I can group bibliographyes by keyword. But this is not a case, becouse if i dont use alphabetical sorting and numeric style I can split bibliography by keywords. But if I want sorted ...
5
votes
2answers
201 views

Order table by row

I have many tables like this: \begin{table}[] \centering \caption{Osmotic down TR CC} \resizebox{1\textwidth}{!}{ \label{my-label} \begin{tabularx}{1.4\textwidth}{|l|Y|T{-1.4}|} \hline term ID ...
0
votes
0answers
22 views

Sorting in utcaps bibtex style

I'm using the utcaps.bst bibliographic style on my PhD thesis https://golem.ph.utexas.edu/~distler/TeXstuff/utcaps.bst which is suitable for using with SPIRES bibtex formats. The format of the ...
2
votes
1answer
66 views

Can bibulous sort references alphabetically?

I'm trying bibulous to make custom formatted references. In fact, I'm aiming for a small modification of the amsplain bibtex style. That style sorts all appearing references alphabetically and ...
2
votes
2answers
127 views

Wrong alphabetical order in .bbl file

I have a problem with alphabetical order of my bibliography, which is not due to my .bib file, but rather in the way in which the .bbl file is generated. Let me explain the problem by means of a ...
0
votes
1answer
80 views

Sort list of (biblatex)-keys by their citation number

As this is a rather specific question and in lieu of a MWE some context: I am working on a personalized version of the tufte-book class. In the process I am now at a point where I think I need a way ...
8
votes
1answer
365 views

The same bibliography with different sorting

Attention: I have an answer and will publish it soon. But perhaps other have a different (or the same) solution, so I'm giving you the chance to show it first. How to output a bibliography with ...
3
votes
1answer
70 views

Changing biblatex's sorting within the document

I am using multiple refsections in my document and I need to sort the respective bibliographies differently. E.g., let's say I want one refsection to be as ...
5
votes
1answer
38 views

When using autocap, how to still get correct alphabetical sorting?

In How to ensure the first letter of a footnote is always uppercase? I received an answer as to how proper capitalisation of Arabic surnames beginning with the definite article "al" could be ensured ...
2
votes
1answer
69 views

How to change the sort order for letter groups

I've used makeindex and the glossaries package to create a glossary, but I'd like to change the sort order for one of the "letter groups". Basically, I have a set of entries that begin with a letter ...
2
votes
1answer
103 views

biblatex 3.0+ - bibliography with different sorting schemes but unique labels

With biblatex version 2.x or earlier, one can write something like \printbibliography [category = cited, sorting = none, title = {References}] \printbibliography [notcategory = cited, sorting = ...
0
votes
1answer
108 views

BibTeX - do NOT sort authors

Is there any way to tell bibtex not to sort the authors for a paper but to print them in the order they've been written in the .bib-file? I have a paper where three people from three different ...
0
votes
0answers
25 views

Different sorting schemes in text and bibliography [duplicate]

Using biblatex with bibtex, I would like to order my references in the bibliography by author name. This works fine: \usepackage[backend=bibtex, sorting = nyt, %name, year, title]{biblatex} ...
3
votes
2answers
117 views

Ordering of the bibliography with biblatex, notes at the end

I do have a problem with the order in the whole reference section. I use the packages below and implemented hyperlinks to each reference in the bibliography. This is done (as shown below) by making ...
8
votes
0answers
264 views

Unexpected behaviour with sorting option, multiple ref context and biblist (biblatex 3.0)

I have a large bibliography file where the vast majority of entries are annotated (and annotations can (and do) contain \cite commands). I have to produce a list of the annotated entries displaying ...
2
votes
0answers
150 views

List of figures: figure numbers appear in incorrect order [closed]

The List of Figures in my thesis sorts my figures based on the page number on which they appear. Instead I would like the figures to be sorted based on their figure number. The current sorting method ...