TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My citation for bibliography appear unsorted in the text like [6,3,4] instead of [3,4,6]. How can I make the appear sorted. I don't care how they appear at the end where they are all listed but my worry is for the appearance in the text. I have tried unsrt style but it does not make any difference. I am using \bibliographystyle{ieeetr}. Tash

share|improve this question
Please post a Minimal (non-)Working Example of code which people can compile to reproduce your issue and test solutions. This greatly increases the chances of your receiving effective, timely responses by helping people to help you. – cfr Mar 9 '14 at 20:07
up vote 1 down vote accepted

Since you're using a numeric citation style and haven't indicated that you're using a citation management package such as natbib, you could get the citation numbers sorted by loading the cite package:

share|improve this answer
Thank Mico, this worked perfectly. I also used notoccite package to fix the order. Great. – Tash Mar 10 '14 at 16:36

If you use biblatex, you can choose a numeric style, for instance, and obtain what you want with this line in your preamble:


The sortcites=true option makes the citations be sorted as in the bibliography.

share|improve this answer
Since the OP has indicated that he/she is using the ieeetr bibliography style, it's not very likely that he/she is using biblatex. – Mico Mar 9 '14 at 22:25
@Mico: Well, I thought maybe the OP used or might consider using biblatex-ieee. – Bernard Mar 9 '14 at 23:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.