Sorting Paragraphs alphabetically (Sorting simple text)

Hi all,

when I sorted my bibliography in Scrivener the last time,
I exported all those paragraphs into Word sorted it there and reimported them into my
Scrivener project afterwards. Is there a more elegant way, to do that?

Up till now, I only found some sorting functions regarding the Binder and Chapters.
A simple sorting of text paragraphs - Do you know a trick to get that done in no time?

Best regards,
The Companion Cube

There’s no way to do that currently, but that would be useful for sorting bibliographies, that’s a good point. And seeing as I have a thing for edgeless safety cubes and general cube-based testing, I’ve added a “Sort Paragraphs” feature for the next update.

All the best,

You could place each bibliography entry in it’s own document, set each of the documents so there is no page break or separator between them (you could create a Bibliography document template to make this easier), and then use the binder sort feature… I think. But since Keith is going to add the sort feature anyway, there may be no advantage to doing things this way.

Hi Keith,

thank you very much for delivering as promised!
Beside the ‘export file to PDF format with footnotes as footnotes (not endnotes)’ functionality, this one was the one I desired most!

Great work and I’m very happy I could contribute with an idea to the growth of Scrivener’s usefulness! :smiley:
Keep on the good work, best wishes,

The Companion Cube

Glad you like it!

Now get back to doing science before GladOS notices you’ve gone… :slight_smile:

I’m using Scrivener 2.1. I’ve found the ‘sort paragraphs’ feature under the Edit menu, but the options of ascending and descending are greyed-out and I can’t find a way to make the options active. What am I missing?


Do you have more than one paragraph selected? This feature won’t do anything if only one paragraph is selected (and just having the cursor in a paragraph is considered a selection of 1 paragraph, for this type of thing).

With your response I’ve tried selecting all the paragraphs in a folder, and I’ve tried selecting the folder the paragraphs are located in. Still grey.

We might be using different words for what we mean, then. By paragraphs, I mean literally the lines inside an individual text file. It sounds like you are selecting whole files in the Binder. Are you wanting to sort by the names of those files? If so, the Documents/Sort/ sub-menu is what you want.


Good questions/directions get to the bottom of it. Thanks.


You’re welcome.