{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
59 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
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 ...
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
98 views

Biblatex descending order of references but multiple lists starting from highest listcount

I want to do a CV (I use moderncv) and print several bibliographies at the end. All of them should be in decreasing order (sorted by year) but with new starting point. What I know is the solution ...
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
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 ...
8
votes
5answers
2k views

How to change a .bst for references sorted in order of appearance

I've been struggling trying to format my references for a paper which needs to follow the LNCS guidelines. They use to provide a .bst file which formats the references exactly as they require, but the ...
3
votes
1answer
527 views

Order by first author only (not all names) than by year or Sort by a partial entry in biblatex

I need to sort my biblatex entries on the base of the first author only (authortitle style), but I need the complete list of authors in the bibliography. I can use something like ...
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 ...
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 ...
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 = ...
2
votes
2answers
128 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
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 ...
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 ...
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
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} ...
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 ...
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]{ ...
17
votes
1answer
5k views

Sectioning bibliography by type of referred item

My promoteur has a very unusual requirement: the bibliography needs to be sorted first by specific type of referred item, next by author and by year of publication. I managed to get this custom ...
4
votes
2answers
73 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. ...
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 ...
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, ...
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 ...
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 ...
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 ...
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. ...
6
votes
3answers
101 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 ...
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 ...
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 ...
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 ...
19
votes
1answer
3k 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 ...
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 ...
3
votes
1answer
107 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
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} ...
3
votes
1answer
23 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 ...
40
votes
1answer
30k views

Biblatex citation order

I'm facing a problem with biblatex citation order. Using this configuration: \documentclass {article} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \hyphenation{es-ta-bi-li-da-de} ...
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} ...
18
votes
2answers
2k 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 ...
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 ...
4
votes
1answer
320 views

Sorting references alphabetically

I am trying to use a modified (German) bibstyle from the American Economic Review (The original version can be downloaded from http://mirrors.ctan.org/biblio/bibtex/contrib/economic/aer.bst. I have ...
4
votes
1answer
201 views

Sorting bibliography by specific first author name and then year

I am using biblatex package. I am including all bibitems in a document. I want to sort items first by the author X when he is first author, seconds etc and then by year. Is there any simple way of ...
5
votes
2answers
204 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 ...
17
votes
5answers
620 views

Reverse page numbering

How can one make LaTeX print the pages numbering in reverse order, in the sense that if the document in question has N pages then the first page is numbered N, then N-1, ...?
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 ...