I need a command to sort lines

0 votes
asked by
edited by

I have 7700 numbered lines and most are of this kind: 1.2., 1.2.X but 790 lines are 1.3.2.
For example I need to get the 1.3.2. in order 1.2.3.

  • 1.xxxxx
    2.xxxxx
    1.xxxxx
    2.xxxxx
    1.xxxxx
    3.xxxxx
    2.xxxxx
    1.xxxxx
    2.xxxxx

1 Answer

0 votes
answered by (264k points)

Open the document you have and copy its contents into an Excel document. If you don't have Excel, you can use Google Docs to create a document. Once you have pasted the lines, use Sort and Filter option and choose Sort A to Z and you will have the result you want.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...