Sorting by type of source?

Apr 21, 2010 at 10:43 AM
Hi, I need to sort bibliography by type of source, like: Books 1. author, book 2. author, book 3. author, book Book Section 4. author, book 5. author, book Journal 6. author, book and so on... I've tried this article: but i just don't get it... where do i need to put code... I'm using template ISO 690 Numerical References.. and when i open it i see lots of lines of code :). Help me, please! Thanks, elza
Apr 21, 2010 at 12:27 PM

The ISO 690 Numerical Reference style is NOT a BibWord style. It is one of the (unstructured) styles that come with Word. However, the code in the thread you referenced is for a BibWord style. Hence, you can't use that code in your case.

I no longer work with the styles that come with Word. Their structure is too awkward to manipulate. However, I can provide you with some information. With regards to the ISO 690 styles, look for the lines containing "<xsl:sort select". They are commonly grouped. If you want extra sorting options, you will have to look in there.

However, there is something else to take into account: the numbers for in-text citations can only be in the order of reference. This is very important! For example, if you wanted your bibliography to be sorted by type and then by name and number the sorted entries accordingly, then you can NOT use those number for your in-text citations.

BibWord styles can get around this limitation using the BibWord Extender tool.


Apr 21, 2010 at 1:17 PM
Thank your for your quick answer. Do you have any BibWord style, where references can be sort by type of source? Thanks, elza
Apr 21, 2010 at 5:46 PM


You could start from one of the styles that already use the BibOrder field (e.g. IEEE - Alphabetical) and extend the SortKey. If you would use {%SourceType% } as the first variable in your SortKey elements, you could group them by type. For more information on format strings see the documentation.