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

learn more… | top users | synonyms

15
votes
5answers
3k views

How to sort an alphanumeric list

I have been trying to find a package or a method to sort lists of names in an easy manner in TeX/LaTeX. I have tried some of the routines in the xfor package, as well as looked at some of the new ...
16
votes
2answers
8k views

Is it possible to get unsrt + abbrv bibliography?

Is there a ready made BibTeX bibliography style file that both: (1) prints author names abbreviated (like abbrv) in the references section and (2) sorts references numerically in citation order (like ...
23
votes
1answer
3k views

biblatex: Reverse numbering (i.e., count down)

I was wondering if it is possible to get the citation numbers to count down [3] newest item [2] item [1] oldest item in biblatex? I am sorting using either using sorting=none and entering in ...
25
votes
3answers
3k views

BibTeX handling of the Dutch “van” name prefix with natbib

I want to produce the following with LaTeX/BibTeX: In the running text: ... we refer the reader to the work of Van Noort (2010). In the bibliography: Thomas van Noort. An important paper. ...
20
votes
1answer
2k views

biblatex sorting by date

I have written my own biblatex style for citing jurisdiction. I realized that the sorting in the bibliography is not chronological within the years. I addressed the date field to each bibliography ...
11
votes
1answer
2k views

biblatex - quote in chronological order but bibliography list must be alphabetical order

I want to use more than one type of specification in my bibliography. I want to quote in chronological order but have the bibliography list in alphabetical order. If I am quoting 2-3 references in ...
37
votes
2answers
14k views

How to enter publications “in press”, or “submitted to” in BibTeX?

Is there a convention for how to enter publications that are "in preparation" or "submitted to Some Journal" into a BibTeX database?
15
votes
1answer
373 views

Sorting preamble packages thematically while accounting for compulsory load orders

Within a document's preamble (or a custom "preamble" package), at times there's the need to take compulsory load orders for certain packages into account. Most packages must be loaded before the ...
8
votes
2answers
1k views

Sorting the bibliography by entry type

I am using BibTeX. For overall configuration I use a .cls file. I am looking for a way to sort the bibliography in this order: Books, articles, and miscellaneous. Currently all types of materials get ...
5
votes
2answers
2k views

Multibib reverse label or sort order

I'm using multibib. I manually set the order of the bibliography. I would like the order of the numbered items to be reversed. For example, my document has: \nociteX{Foo} \nociteX{Bar} And the ...
13
votes
2answers
9k views

Sort thebibliography by citation order

Can thebibliography be sorted by citation order? Or is there a solution with an inlined bibliography that can be sorted? Not having an additional .bib file would be preferable. My current ...
7
votes
1answer
493 views

Applying \lowercase to index entries

I would like to sort the index entries independent of case. Initially I was getting (code provided in MWE) the image on the left. So, that seemed like an easy fix: just apply \lowercase (uncomment ...
13
votes
2answers
731 views

Symbol index sorted by occurrence

I would like to make an symbol index which is sorted by occurence of symbol. For example: Something like ... $\omega$\index{$\omega$} ... $A^P_k$\index{$A^P_k$} ... $\{\}$\index{$\{\}$} should ...
3
votes
1answer
96 views

Sorting according to more than one key in pgfplotstable

Is it possible to sort rows of a pgfplotstable according to multiple keys? For example, input file is as follows: Mtx Kind P Sp A LP 16 4.2 C OPT 16 72.5 A LP 64 20.3 B OPT 16 ...
12
votes
1answer
444 views

Sorting Comma Separated Lists defined with, or without macro

I would like to be able to sort a comma separated list. Before I resort to writing something that would require \ensureunix :-) and having that do the sort for me, I thought I'd make an attempt to ...
6
votes
1answer
218 views

bibliography with per-author numbering (and author-year sort)

I'm working on a new edition of a book which uses a very unusual style of bibliography: Entries are sorted in author-year fashion, but then numbered per author or group of authors, e.g.: Milnor, J.: ...
4
votes
2answers
2k views

Problem using package acronym

I am using acronym package to create the list of Acronyms. I am using Acronym1.tex containing the definition of all the acronyms. However here is the list of problems I am facing. I have to sort the ...
9
votes
2answers
310 views

How to sort alphabet index in Vietnamese correctly?

I want to use index in Vietnamese Alphabetically. The order must be a, b, c, d, đ, e, ê. But in following code. That order is wrong. The first is "Ê", not "A", the second is "Đ", not "B". How to ...
26
votes
5answers
13k views

Is there a BibTeX style that sorts references in reverse chronological order?

I am putting together a CV in latex, and I am trying to get my list of publications to display in reverse chronological order. I can use \bibliographystyle{unsrt} as a workaround, and just order the ...
12
votes
4answers
367 views

Order items in enumerate environment automatically

I have a list of almost 300 items in an enumerate environment \documentclass{article} \begin{document} \begin{enumerate} \item This is the second item. \item This is the third item. \item This is the ...
12
votes
1answer
571 views

Bibtex reverse numbering

For my CV, I would like to reverse number publications (i.e., starting from the total number of publications all the way down to 1). Is this possible with plain LaTeX and BibTeX? This question is ...
8
votes
2answers
967 views

sorting multiple bibliographies in biblatex

I have a thesis which has two bibliographies. It includes a list of publications and a reference list. The reference list should be unsorted, or rather, sorted in order of appearance, while the list ...
17
votes
1answer
1k views

Different sorting schemes in different sections of bibliography

Update 5-Sep-2012: Sorry for highjacking this question, but as the status of the accepted selected answer has changed (now multiple sorting is implemented with biber/biblatex), and I think it is a ...
11
votes
1answer
533 views

biblatex: merge the list of shorthands into the bibliography

Using biblatex, is it possible to merge the list of shorthands into the bibliography? The goal is to have a single alphabetical list of references, regardless of whether they are cited in shorthand ...
9
votes
3answers
717 views

Sorting index entries with accented words

Friends, I'm struggling for some time with this disturbance in the TeX force: I have a set of words in Portuguese which are accented. When sorting these words, we treat accented letters the same way ...
7
votes
2answers
706 views

Sort subsections alphabetically

We need to make a paper that describes a list of interfaces. The assignment however says we need to sort the interfaces alphabetically. Because this list is quite long (20+) I am looking for a way to ...
6
votes
1answer
573 views

Properly sort index containing utf8 characters?

If my input file is utf8 encoded, how to I create an index where the entries are properly sorted? Minimal example \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{makeidx} \makeindex ...
7
votes
1answer
119 views

Sorting Vietnamese utf8 index with make-rules in xindy package

I am using the xindy package to compile the index containing Vietnamese. It works fine except the order within words. The "standard" order is accepted as the following, which is different from the ...
6
votes
2answers
666 views

Natbib+harvard.bst: papers in same year listed in the wrong order

I have a bibliography in which a particular author wrote two papers in the same year. Bibtex is sorting them alphabetically by title, but I want them listed chronologically. (So in the example below ...
3
votes
2answers
624 views

Sorting a manual bibliography alphabetically by their labels

How to sort the bibliography alphabetically by their labels \begin{the bibliography}{10} \bibitem[Polchinski, 1984]{jpol} Polchinski,~J. \newblock{(1984)}, \newblock Renormalization group and ...
2
votes
1answer
596 views

How to change order of a bibliography style manually (bilingual bibliography)

I've got a bilingual bibliography (Russian and German). I want to sort the entries alphabetically. The Russian entries have to appear alphabetically as well. Unfortunately, since the authors names are ...
20
votes
3answers
1k views

Sorting of author names like “von Beethoven” with biblatex

I wonder how I can get a proper sorting of names in the bibliography. In the following example, "von Beethoven" is at the position "v", but it should be sorted as "Beethoven" under "B". ...
12
votes
1answer
886 views

Sectioning bibliography by type of refered item

My promoteur has a very unusual requirement: the bibliography needs to be sorted first by specific type of refered item, next by author and by year of publication. I managed to get this custom ...
12
votes
1answer
608 views

A tool for creating a dictionary with right-to-left script

I'm trying to typeset a dictionnary, using Arabic script. I would like to create a list of words in three columns, with Arabic word in right column aligned to the right, its Polish translation aligned ...
3
votes
1answer
787 views

Nomenclature sorting and latex code coming first

I am using LyX, which uses Nomenclature package, I guess. As you see in the screenshot 1, \hat{p} comes before everything else. How can I send it back where the other p's are? Many thanks.
18
votes
1answer
2k views

Biblatex, capitalization of arabic names and name prefixes

As we know, using the useprefix option, when name prefixes like von, della etc. are present in the bibliography, enables us to change name sorting as well as capitalize those prefixes using commands ...
14
votes
1answer
672 views

Unsorted citations and floats

In attempting to answer this question Citations in order of appearance it's clear that unsorted citation schemes (ones in which the citations are numbered simply by order of appearance) can be easily ...
8
votes
1answer
321 views

How to establish a complex sorting scheme of references in biblatex?

The journal in which I intend to publish has some weird sorting requirements for the reference list. The basic sorting is alphabetical but then (quoting from here): "Papers with two authors should ...
8
votes
1answer
5k views

How to get sequential references in my paper?

I'm using TeXnicCenter to write my all document and generate my bib file by using JabRef. However I noticed that my references are out of order. It seems the addition order to JabRef file forces the ...
3
votes
2answers
1k views

How can I get the style alpha.bst sorted as plain.bst in Bibtex?

I like alphanumerical citations written as in alpha.bst style, with initials of authors and years, but I would like references to appear sorted as in plain.bst style. As an example, I prefer the order ...
12
votes
1answer
312 views

Farsi alphabet order for glossary

I am using glossaries with makeidx in a Farsi document with xepersian. Currently it sorts the output using Arabic alphabet order and places words starting with گ, چ, پ and ژ at the end of list. How ...
10
votes
1answer
1k views

BibLaTeX: how to sort references by year within the citation

I am using biblatex with the following command: \usepackage[citestyle=numeric-comp,sorting=none]{biblatex}, and then add muptiple citations with, e.g. \cite{Lamont1985, Sorin1983}. I need the ...
9
votes
2answers
925 views

Make nomenclature sort math correctly

I am sorting my nomenclature as suggested by the nomencl package documentation, but \dot{q} is being sorted before a and v, where as the desired sort is: a \dot{q} v The existence of a default ...
9
votes
1answer
253 views

Create arbitrary sorting of index entries

How does one go about setting an arbitrary sorting order in an index? For example, I would like to create an index of citations to Roman and canon law, which should not be sorted alphabetically. ...
8
votes
1answer
4k views

How does BibTeX sort references?

How does LaTeX sort references as it is causing the first reference I have used to be numbered as [2] in the document rather than [1]. See below: Technology has been introduced in various ways within ...
7
votes
1answer
90 views

make index started with mathcal mode in the right order

I want to make index something like: $\mathcal{P}$-vector\index{$\mathcal{p}$-vector} but when indexed it comes before words started with 'A' instead of being after 'O' words.
7
votes
1answer
844 views

BibLaTeX: sorting alphabetically with non-latin characters (Ś)

Biblatex indexing works very well with latin names. But when an author has foreign name (Łukasiewicz) the Ł letter is changed to \IeC {\L} and makeindex is not able to sort it well. In Polish it ...
6
votes
1answer
159 views

Texindy sorting Icelandic

I use command texindy -L icelandic -M lang/icelandic/utf8 dict_main.idx to create a list of the names of the photographes, their authors and licenses. But the sorting is not correct (for example ...
6
votes
1answer
476 views

Overrule numeric-comp sorting for one \cite command

I am using biblatex with the numeric-comp citation style, which sorts&compresses citations. E.g. \cite{C,A,E,B} ... \cite{D} becomes "[1-3,5] ... [4]" (with 1=A, 2=B, 3=C, 4=D and 5=E). In ...
5
votes
2answers
244 views

Biblatex/biber keep cycling and not settle when using custom sort

I'm trying to do a custom sort: citation order -> year/month -> author -> title I think I got it in the style in the code below. However, when I run it: pdflatex -> biber -> pdflatex -> pdflatex. ...