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

learn more… | top users | synonyms

8
votes
1answer
154 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 ...
4
votes
1answer
122 views

Sort index entries

This question is similar to others, but I could not find an answer that actually works for me. This is my document: \documentclass[12pt,a4paper]{book} \usepackage[utf8x]{inputenx} ...
3
votes
1answer
134 views

Cannot use nomencl package, makeindex doesn't works with my preamble

Time ago I had an issue with Tikz and mathpazo, building my preamble as a post here recommended. In that way my document could compile once again and well, so on the project grew. So my preamble now ...
2
votes
1answer
80 views

Alphabetic sorting fails in biblatex when defining characters with \newcommand

I'm citing an Icelandic guy whose last name has a first character Á (U+00C1). If I write his name in my bibliography with that character code (\char"00C1), the sorting works correctly. If, however, I ...
0
votes
0answers
86 views

sorting refrences in latex with last name

I am using the natbib package for authoryear style. \citep command for reference and planet as bibliography style. Everything is working as desired, except an author's name in the reference appears in ...
7
votes
2answers
215 views

Sorting and citing names with 'von' prefix using biblatex

Consider a document whose author is "van Beethoven, Ludwig". I'd like to cite it as "van Beethoven" in the text and list it as "van Beethoven" in the references. This could be achieved with ...
6
votes
1answer
79 views

Certain number on reference in text

I am using natbib with unsrtnat for processing bibliography for my thesis. I must prepare short summary of my thesis (about 35 pages out of ~200). It won't include literature overview just summary of ...
3
votes
2answers
173 views

Sort bibliography entries with respect to their logical sequence (part i and then part ii)

In my bibliography I have the following two entries: Hosseini, S.A., Shah, N., 2011a. Enzymatic hydrolysis of cellulose part ii: Population balance modelling of hydrolysis by exoglucanase and ...
2
votes
0answers
101 views

Sorting a list of tokens (not necessarily numerals) in expl3/LaTeX3

I'd like to sort a list of words according to their lexicographical order using expl3 code. My words are in a seq variable that I access in a stack-like manner (this is not relevant, though). I've ...
3
votes
1answer
250 views

Order Bibliography alphabetically (author and titles)

I'm writing a paper using jurabib. The problem I have is that in the bibliography the entries are well sorted by author, but where an author has more than one entry these are not in alphabetical ...
0
votes
0answers
75 views

How to sort text or how to make a tex-based test generator

Suppose I have a long file of a pile of test questions. I want to select a subset and make a test out of them. Of course I could copy/paste. But is there a package that helps to sort and display ...
3
votes
1answer
129 views

Sorting scheme for specific entry-types in biblatex

I'm using nty sorting scheme, but I need @proceedings and @inproceedings entries to be sorted by eventtitle before booktitle in @inproceedings and before title in @proceedings. The order should be ...
2
votes
1answer
251 views

Problem with sorting literature order by entry type (misc, book,…) in BiBTeX

EDIT: I edited a "main" file and I added a .bib file. I have problem with BibTeX - concretely with sorting literature order by entry type. The .cls file is HERE and .bst file is HERE. Error: ! ...
11
votes
2answers
360 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 ...
3
votes
1answer
342 views

Sorting with own bibstyle after first author, year, co-author

I'm trying to resort my bibliography, but I'm stuck. At the end it should be sorted alphabetically after the first author, then the year, then the co-author and if that's the same the year should be ...
4
votes
0answers
96 views

How to enumerate in reverse order [duplicate]

I want to enumerate Dave-Letterman Style with the last listed first as in enumerating top ten items and having them listed in 10 9 8 7 6 5 4 3 2 1. Is the etaremune package the only way to go? ...
1
vote
2answers
2k views

Bibliography references by order of appearance [duplicate]

I am putting together a big document based in many other small ones, and, as it is, I have a lot of references, much more than I wish to order by hand. Is there a way to number these references by ...
4
votes
1answer
153 views

Sort database with datatool

I use the datatool package to read CSV files and print them as tables. Before printing I want to sort the rows. The problem is that the file was written with R and some rows contain normal numbers ...
1
vote
1answer
56 views

sortname for editor messes up crossrefed entry

In the .bib-file there are two relevant entries -- the crucial point is sortname, for (by using prefix=true) I want to print De Jong, Irene J. F., René Nünlist und Angus M. Bowie but sort the ...
5
votes
1answer
160 views

Sorting a table according to values in another table

I have two tables (A and B), both with a string valued column and an integer valued column. What i would like to actually have is a sorted table B sorted by the values of table A. The crucial point is ...
4
votes
1answer
174 views

Forcing bibliography order

I've a bibliography which include websites. I want to have an alphabetical sort. Thus I use the plain style which do the job great. The problem is websites are less important than others references ...
2
votes
4answers
591 views

Sort bibliography with same author and same year (biblatex)

When I cite two works by an author published in the same year, biblatex will sort them in the bibliography according to their title. In some cases, however, I know that the work sorted in the second ...
12
votes
4answers
471 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 ...
3
votes
0answers
84 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
215 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
306 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
179 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
72 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
95 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
452 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 ...
9
votes
1answer
1k 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
145 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
589 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
108 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
114 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
178 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
103 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 ...
1
vote
1answer
932 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
271 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
228 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
118 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
318 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
6k 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
799 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
414 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
133 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
673 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
136 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
728 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
85 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 ...