How can I reverse the order of the paraphraphs

I am in a real bind.
I wanted to extract annotations from a my ereader.
I managed to do that but the document has all the annotations in reverse for each book.
The 1st is at the bottom.

Is there anyway I can reverse this order of the paragraphs within Libreoffice writer (or another programme)? So that the annotations are as they appear in the ebook. That is the correct order.

I have looked at Sort, but that would involve manually numbering up all the paragraphs, (there are hundreds).

It would save me a lot of work, having to do it manually, which I know I don’t have the time. Or I will have to read all those books again using a different program and extract the annotations another way.

Libreoffice 4.1.6.2
Windows 7
64 bit pc

May well be there’s a simpler way but …

‘Insert’ > ‘Object’ > ‘OLE object’ > LibreOffice Spreadsheet’ or create an independent spreadsheet. Goto A1 (e.g.)

‘Paste Special’ > ‘Unforamtted Text’ NO choice of delimiting of any kind!

Every one of your annotations being an independent paragraph, as you told, should be imported into ONE CELL of the column.

Number the cells of an adjacent column (by entering 1 in the first one, then simply dragging)

‘Data’ > ‘Sort …’ > Choose the numbering column as the only criterion and ‘Descending’ > ‘OK’

Copy the result and go back to your Writer document. Paste1

[begin EDIT] As tables in Writer are also sortable …Refer to Is there any function that can number table-rows in Writer? for numbering. …

For our purpose it won’t work!

I personally would prefer the spreadsheet, anyway.
[end EDIT]

Answered simultaneously :slight_smile:

@lactea - Just saw it. It wasn’t the first time I experienced that. We both had the same Q&D idea, however, and if @SonOfColl can use it he won’t mind if the idea was spelled twice a bit different.

My Q&D [quick and dirty] suggestion; paste it in calc, insert a number, say 1, next to it. Put a 2 below and fill the rest of the column. Then sort the number column in decending order. Copy-paste your reversed list of paragraphs as desired.