# Re: [NTG-context] Bibliography contains references not cited in the text

```Perhaps, by coincidence the example that I sent had the bbl file
sorted. But the full file does not have the references sorted. Does
this mean I have to first get the bbl file sorted. If so, how do I do
that?```
```
Why is Hans quiet if this is a bug? He usually always says something
about when he will fix it.

Thanks.

On Mon, Nov 29, 2010 at 11:09 AM, Mathieu Boespflug <mb...@tweag.net> wrote:
>>> No, indeed they were not sorted. But I saw that the the .bbl file was
>>> sorted. I then found that when you add sorttype=bbl as an argument to
>>> \setuppublications  (so, in your example use
>>> \setuppublications[refcommand=authoryear,sorttype=bbl]) and use
>>> \placepublications[] you will get the cited publications sorted
>>> alphabetically by author name.
>>>
>>> I later saw that this solution was already given by Aditya Mahajan in
>>> ntg-context Digest, Vol 76, Issue 141   Date:   29 oktober 2010, Message
>>> 4, Subject:  sorttype for bibtex
>>
>> On top of that, this is also documented in the bib module's manual.
>
> Except that doesn't seem to work with the bibliography being placed
> using \placepublications in its own chapter in the backmatter. A
> similar issue was reported in 2006
>
> http://www.mail-archive.com/ntg-context@ntg.nl/msg15442.html
>
> but the solution given then involved writing
> \placepublications[criterium=all].
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________