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

learn more… | top users | synonyms

3
votes
0answers
97 views

Altering index sort order in bibleref

Original post: The bibleref package affords tidy citation and indexing of Bible passages; sort order is by default alphabetical by book. According to the documentation, one can change the to another ...
5
votes
1answer
309 views

Manually sorting nomenclature elements (with grouping)

I am using nomencl package and I have grouped Nomenclature section into List of Abbreviations and List of Symbols. The order in List of Symbols is not what I wanted. how is it possible to sort the ...
1
vote
0answers
343 views

In \bibliographystyle{alpha}, can I sort references by the first author's last name instead of by the marker?

I'm creating a bibliography using \bibliographystyle{alpha}. Consider the following three references. [Gab72] Peter Gabriel... [GJ09] Paul G. Goerss and John F. Jardine... [GR92] Peter ...
3
votes
1answer
202 views

Sort bibliography entries in alphabetical order by the entries' “short” value

How can the bibliography list entries be sorted in alphabetical order using the s ("short") field of the publication entries in the example below? I don't want to use a BibTeX file, but the ...
4
votes
1answer
83 views

Automatically arrange citations in increasing number using biblatex

I have similar problem to this question The question is essentially the same, but I use biblatex. I have \autocite{b,c,a,d} which generates [2, 3, 1, 4]. Is it possible to automatically make them ...
1
vote
0answers
106 views

Combine class does not sort citations

There are three files in the next section of code; all three should go in the same folder. The main document is bibProblem (combine document class), the import document is inputDoc1a (article class), ...
1
vote
1answer
573 views

order same-author-year publications by appearance

I have a document in which two papers have the same first-author and the same year. With my current bitex-style file, papers are listed and numbered according to the year and then the authors, which ...
10
votes
1answer
2k views

Alphabetically display the items in itemize

I am wondering whether it is possible to display the items alphabetically regardless of the order we type on the backend? For example I am using itemize as follows: \begin{itemize} \item ...
7
votes
1answer
153 views

Biblatex and per-year subbibliography

My question is how I can group the bibliographic records using biblatex on per-year-basis. I have tried the approach \newcounter{mycounter} \setcounter{mycounter}{2013} \defbibcheck{intheyear}{ ...
6
votes
2answers
960 views

bibtex: Problem in Reference number Order

I am having problem with my bibtex reference number. The number does not increase in order as you can see from the screenshot below. The index goes from 1 to 3, 4, 5, and back to 2. Sorry in ...
3
votes
1answer
150 views

Sorting bib entries in amsrefs

Is there any way to automatically sort the entries within a biblist environment? For example sort alphabetically by author names, type of entry, etc. . Unfortunately I haven't found anything in the ...
4
votes
2answers
144 views

Correct sorting of composite page numbers with makeindex

Running an index file like \indexentry{foo}{1} \indexentry{foo}{i} \indexentry{foo}{a} through makeindex results in an includable output file like \begin{theindex} \item foo, i, 1, a ...
2
votes
1answer
248 views

Babelbib: combine bababbrv-lf and babunsrt-lf

I am using babelbib in order to generate my bibliography. However, it won't satisfy all my needs. I just want the entrys to be formatted like [1] Knuth, D. and Torvalds, L.: We didn't write ...
3
votes
1answer
117 views

Bibtex true unsort

My first steps with bibtex, with pdflatex on a linux machine. I use \nocite{*} so that all references are printed, either cited or not. All the bibliography style that I have found are sorting the ...
2
votes
1answer
1k views

sort biblatex bibliography by appearance of cites in the document [duplicate]

I'm writing my thesis in physics using LateX (MikTeX). For my bibliography i use biblatex with this setup: \usepackage[ backend=bibtex8, maxnames=6, ...
4
votes
2answers
373 views

How to force a specific entry to be first in the bibliography?

I'm writing a paper and I need a specific entry in the bibliography go first in the list. The rest of entries should be sorted as usual. I use plain bibliography style and an external .bib file. For ...
2
votes
1answer
291 views

Get bibliography sorted by year in Elsevier article?

Using this code I can not get bibliography sorted by year. It is just mixed and even not in order of appearance in the myrefs.bib file (which is exactly by year). ...
8
votes
1answer
133 views

Sorting a clist in LaTeX3

I have a clist that I'd like to bubble sort. I'm sure this is a simple matter of something like \clist_bubblesort:N or something, but I don't know what the appropriate incantation is. A quick google ...
6
votes
1answer
518 views

Sectioning bibliography by type (with multiple types per section)

I would like to distinguish books from articles, manuals, etc. This can be done by using: \printbibliography[heading=subbibliography,title={Book References},type=book] or ...
8
votes
1answer
9k 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 ...
3
votes
2answers
1k 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 ...
4
votes
1answer
522 views

List of Figures sorted by Figure number

I am using \usepackage{imakeidx} \usepackage{hyperref} and the command \listoffigures to get the list of figures. Some figures are double-column, some are single-column, and LaTeX does not ...
4
votes
2answers
159 views

Index sorting where numbers are indexed

I have a vast document where I have a separate index of dates (really only the year or year range of particular events). I'm using memoir. Sometimes the year is known exactly ...
5
votes
2answers
852 views

Latex citations Bibtex. Wrong capital and alphabetical order [duplicate]

In my bibliography citations are ordered wrong. For example: @inproceedings{17Degroot, title={Critical scour: new bed protection design method}, author={De Groot, M.B.}, booktitle={Journal of ...
7
votes
3answers
140 views

Sorting to match a given list

I am looking for ideas on the following task. I want to sort the entries in \listb to those in \lista. It cannot always be assumed that only the elements of \lista are in \listb; neither can it be ...
6
votes
2answers
1k views

How do I sort two glossaries (list of acronyms and list of symbols) differently?

I use the glossaries package to create a list of acronyms as well as a list of symbols. \usepackage[acronym,style=long]{glossaries} For the list of symbols the standard-glossary is used. Now I ...
9
votes
1answer
93 views

order of multiple keys in \cite-command

The biblatex-command \cite{key} can take several keys, separated by a comma: \cite{ckey1,akey2,bkey3}. The output is a list ordered alphabetically by surname: akey2; bkey3; ckey1 (where key of course ...
9
votes
2answers
2k 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 ...
5
votes
2answers
204 views

a,b Designation for a lead author with different co-authors in the same year

Biblatex/biber citation sorting: ynt bibliography sorting: nyt Citation1 - Appeared first in 2010 Darwin et al (2010): Citation2 - Appeared second in 2010 Darwin et al (2010) When cited, the ...
3
votes
1answer
108 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 ...
3
votes
0answers
124 views

Is the biblatex toggle behavior expected or should the result stabilize [closed]

In my previous question an issue arose due to the use of multiple bibliographies in the given solution, that I extended here. So the issue is that the numbering in the second bibliography toggles ...
5
votes
2answers
316 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. ...
0
votes
0answers
47 views

Biblatex: Chronological sorting in citations only [duplicate]

Presently I am using sort=nyt scheme, which correctly sorts the bibliography section. However, the citations are appearing as: (Author1 et al. 2002; Author2 et al. 1975; Author3 et al. 1999) I ...
3
votes
1answer
105 views

Sorting a list based on the length of each entry

Is there a way to sort an itemized list based on the length of each item? Something like \begin{Itemize} \item a \item aaaaaa \item aaaa \item aaa \item aaaaa \item aa \end{Itemize} which results ...
5
votes
1answer
416 views

Č doesn't sort in bibliography correctly but {\v C} does

I have an example here of an article document using pdflatex, bibtex, and natbib, where the Č character for Čermak isn't sorted in the bibliography correctly. I don't understand why not. Both files ...
4
votes
2answers
191 views

Sorting swedish index with makeidx correctly

I have a problem getting makeidx sort the special characters of the swedish alphabet, å,ä and ö. They are supposed to be the last three positions, but they appear in the index before "A". How can ...
2
votes
1answer
437 views

Sort .bib file from within TexShop

Is there a way to sort a BibTeX file from within TexShop? For instance, I would like to have all items of type @proceedings at the end of the file, and the items otherwise sorted alphabetically (say ...
6
votes
2answers
149 views

How to use a particular field in a specific entry type for sorting in biblatex

In answering this question: Creating Entry in Bibtex for Executive Orders I gave a biblatex solution which used a new entry type for Executive Orders. This particular entry type has no author, but ...
4
votes
1answer
2k views

Alphabetical order in natbib

I have read questions about this, and people say that it is just to include the natbib package and the plainnat style. For some reason my references will not sort alphabetically. Any help on this ...
12
votes
2answers
260 views

Indexing through texindy in imakeidx with custom .xdy style fails to produce desired order in index

I am trying to produce an index using texindy through the imakeidx make that follows the Sanskrit alphabetical order. I am working in XeLaTeX. I created a custom .xdy style file to be called as an ...
7
votes
1answer
585 views

Strange problem with BibTeX sorting

I know that Umlaute have to be avoided in BibTeX and I am using {\"a}, in fact I use BibDesk and it produces the correct LaTeX code. The sorting works for small characters, but I have one name ...
1
vote
0answers
35 views

Is there a bibtex style that sorts references according to publication type? [duplicate]

Possible Duplicate: Sorting the bibliography by entry type I am updating my CV and I was wondering if there exists a way to sort publications according to their type (articles, ...
3
votes
2answers
6k views

Bibtex style help - alphabetical sort

I have found a Bibtex style that suits my requirements very well as it presents my sources exactly how I want. I am using the \nocite{*} command to display all my bibliography sources from my .bib ...
5
votes
1answer
493 views

Possible to change sort order in natbib?

I have played a little with LaTeX lately and I really like it, it makes the document look top professional and makes structuring a report easy. I am currently using it for a big assignment with lots ...
1
vote
2answers
715 views

Reference sorting within the .bst file

I am using a master thesis template which was prepared from my university. But when I compile my thesis, the references are sorting alphabetically instead of by appearance in the document. I have one ...
1
vote
2answers
858 views

Modifying existing code to sort a list of abbreviations

I have currently the Latex code written in the .cls file to display a list of abbreviations as follows: \newcommand\listnomenclature{Abbreviations} \usepackage{longtable} ...
12
votes
1answer
828 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 ...
8
votes
2answers
635 views

How to sort the entries of a dictionary alphabetically?

This is a follow-up question to: How to automate a dictionary (sorting, headers)? I was wondering if there is a way to sort the entries alphabetically in the following code. I guess myself that ...
2
votes
1answer
1k views

nomencl manually sorting

I have a problem with manually sorting the entries for my nomenclature by the prefixes, and I cannot get it to work. Here is my code; they are supposed to be sorted by the numbers in the prefixes, ...
6
votes
1answer
261 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.: ...