Skip to content

Add sort lines option to the editor #1279

Open
@tzontron

Description

Extend CodeMirror to provide Sorting ascending/descending lines selection option

for eg.

2018-08-04 price VBMPX                              63.48 USD
2017-08-04 price RGAGX                              64.31 USD
2016-08-04 price ITOT                              184.36 USD
2014-08-04 price VEA                               228.73 USD
2017-08-04 price VHT                               117.19 USD
2017-05-04 price GLD                                73.91 USD

should become (ascending)

2014-08-04 price VEA                               228.73 USD
2016-08-04 price ITOT                              184.36 USD
2017-05-04 price GLD                                73.91 USD
2017-08-04 price RGAGX                              64.31 USD
2017-08-04 price VHT                               117.19 USD
2018-08-04 price VBMPX                              63.48 USD

Two options can be added under the edit menu:

  • Sort (ascending) Ctrl+Alt+)
  • Sort (descending) Ctrl+Alt+(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions