{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
5answers
3k 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 ...
1
vote
1answer
14 views

\bibliographystyle{ieeetr} doesn't work anymore after language pack change in TeXWorks

I'm really starting panic because I'm writing my thesis and everything was working correctly on LaTeX, but I had Contents and List of figures titles in ITALIAN, as it is my language package used (as ...
3
votes
2answers
44 views

How to get sorted and compressed citations when using split bibliography lists and defernumbers=true in biblatex?

My reference list is showed in 2 lists based on the entrytype of the bib reference. I want the lists sorted numerically. Also, I want the citations in a sorted and compressed way. The problem is that ...
1
vote
1answer
50 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 ...
0
votes
0answers
15 views

Unsuccessful attempts at sorting the bibliography alphabetically [natbib,plainnat,citep]

After consulting lots of posts here at tex exchange and other resources, I still can't figure out the problem. Everything looks fine, still alphabetical sorting in working for me. This is the last ...
4
votes
1answer
80 views

Aa to Å at reference list

How do I sort the reference list alphabetic so Aa is at the bottom of the list? I use bibtex to sort references. Okay, this is how it looks: \input{preamble} \begin{document} ........ ...
2
votes
2answers
85 views

Sorting table entries automatically

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

Biblatex + biber - Sort citations by report issue

I'm trying to sort some tech report citations from the same year in the bibliography by report issue number, but have got no chance so far, i've even tried adding the month in order to make them sort ...
1
vote
1answer
65 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' ...
1
vote
1answer
41 views

Sorting a list alphabetically by a Macro output

this is an extended question taken by Alphabetically display the items in itemize The solution posted by Werner is amazing. But what I need is to sort by a value of a macro. For example \foo{Label} ...
1
vote
0answers
54 views

Biblatex - Citation order different from Reference order

I am using biblatex with biber option. Is there a way to use the ieee style with citation being number in brakets, ordered by order of appearance but to have the references displayed with ...
2
votes
1answer
35 views

What is the usual sorting method for numeric citation?

What is the usual sorting method for numeric citation? If it is not 'none', then in the text the citation will appear in a strange order.
16
votes
1answer
4k 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 ...
1
vote
2answers
45 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
34 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
107 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 ...
2
votes
1answer
71 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 ...
3
votes
1answer
581 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
107 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
23 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
110 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
137 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
31 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
28 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
36 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
72 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
53 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
25 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
71 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
53 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
38 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
82 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
42 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 ...
5
votes
2answers
86 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
64 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
30 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
96 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
99 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
59 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
61 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
110 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
76 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
23 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
484 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
101 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 ...
4
votes
1answer
119 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
56 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
24 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 ...