Bibliography Sorter
Sort BibTeX entries by key, author, year, or title.
About this tool
Paste BibTeX and choose how to sort: citation key, first-author surname, year or title. The sorted entries are returned in the standard layout.
How to use
How it works
Sorting makes large.bib files easier to scan and reduces merge conflicts in version control. The author sort uses the surname of the first author in lower case. Note that LaTeX orders the printed bibliography by your style (.bst), not by the order in the.bib file.
sortBy ∈ { key, author, year, title }Worked example
Sort by author
- Input
- @article{z, author={Zed, A}, year={2021}} and @article{b, author={Adams, B}, year={2019}}
- Output
- b (Adams) first, then z (Zed)
- Walkthrough
- The first-author surnames adams and zed are compared alphabetically.
Limitations
- File order does not control the order printed in your PDF.
- Entries lacking the sort field are placed by their empty value.
Questions
Does sorting change how references print in LaTeX?
How is author sorted?
Can I sort by year?
Features
- Four sort fields
- Standard layout
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Learn JSON - Full Crash Course
freeCodeCamp.org
Structured citation data often serializes as JSON/CSL.
Watch on YouTubeFinding mean, median, and mode
Khan Academy
Stats show up in research methods coursework.
Watch on YouTube
- MLA citations by format
MLA Style Center
MLA works-cited patterns for academic tools.
- Research and Citation Resources
Purdue OWL
Widely used citation teaching resource.