LaTeX forum ⇒ BibTeX, biblatex and bibersort references alphabetically

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

sort references alphabetically

Postby Ramadan Babers » Tue Sep 27, 2016 12:38 pm

i am use the template:
http://www.latextemplates.com/template/ ... ral-thesis

i need the references arranged alphabetically.

Tags:

kaiserkarl13
Posts: 636
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Sun Oct 02, 2016 6:34 am

How about using alpha.bst? If that's not the right format, try running "latex makebst" and following the instructions---that will let you sort in a number of ways.

User avatar
Johannes_B
Site Moderator
Posts: 4078
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Oct 06, 2016 12:52 pm

References ordered alphabetically is the default for the template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Sat Oct 08, 2016 12:19 pm

kaiserkarl13 wrote:How about using alpha.bst? If that's not the right format, try running "latex makebst" and following the instructions---that will let you sort in a number of ways.


Kindly, where I need to write alpha.bst?
kindly, clarify the steps.

User avatar
Johannes_B
Site Moderator
Posts: 4078
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Oct 08, 2016 12:26 pm

The template uses the modern system of biblatex.
  1. \usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex}

The style is author year and the references are ordered alphabetically. If this is not the case, you changed something and need to show a minimal working example.

You cannot use alpha.bst without changing the template and getting rid of the advantages that are preset.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Sat Oct 08, 2016 1:01 pm

thanks for reply.
exactly what I need is I need to keep the numeric and the references need to be sorted alphabetically in References section. Is it available?

User avatar
Johannes_B
Site Moderator
Posts: 4078
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Oct 08, 2016 2:11 pm

Well, who could have guessed that you want a numeric style, for which the reference list is sorted alphabetically by default. style=numeric
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Sat Oct 08, 2016 2:25 pm

I use:

usepackage[backend=bibtex,style=numeric,natbib=true]{biblatex}

but the references appear as:

[1] Hazem Ahmed and Janice Glasgow. “Swarm intelligence: concepts,
models and applications”. In: School Of Computing, Queens
University Technical Report (2012).
[2] Khaled Ahmed, Ahmed Ibrahem Hafez, and Aboul Ella Hassanien.
“A discrete Krill herd optimization algorithm for community
detection”. In: 2015 11th International Computer Engineering
Conference (ICENCO). IEEE. 2015, pp. 297–302.
[3] Taher Alzahrani and KJ Horadam. “Community detection in bipartite
networks: Algorithms and case studies”. In: Complex Systems
and Networks. Springer, 2016, pp. 25–50.
[4] Ramadan Babers, Aboul Ella Hassanien, and Neveen I Ghali. “A
nature-inspired metaheuristic Lion Optimization Algorithm for
community detection”. In: 2015 11th International Computer Engineering
Conference (ICENCO), Cairo University, Egypt. IEEE. 2015,
pp. 217–222.

User avatar
Johannes_B
Site Moderator
Posts: 4078
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Oct 08, 2016 2:52 pm

And the list is sorted alphabetically. What do you expect more?

Maybe you want an additional \DeclareNameAlias{author}{family-given}?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Sat Oct 08, 2016 7:28 pm

Johannes_B wrote:And the list is sorted alphabetically. What do you expect more?

Maybe you want an additional \DeclareNameAlias{author}{family-given}?



Kindly, Ref. No [4] (Ramadan) appears after Ref. No [3] (Taher) which is wrong.
I need [4] before [3] as T is after R.

this is for example,


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 14 guests