Sort source action

Are you missing a feature? Request its implementation here.
jelovirt
Posts: 84
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Sort source action

Post by jelovirt »

One could implement this as a plugin, but I'd like to see a common text editor feature that sorts selected lines in oXygen. The sort could use the Unicode code points of the characters as the line sort key.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Should that take into account white spaces or not?
What about markup?
What would be the common use cases for that?

On the other hand, are you aware of the sort support that oXygen provides in the Grid view? If you click on a table column then you have two sort actions in the contextual menu, Sort ascending and Sort descending that sort the table rows based on the data found in that column.

Does the above solve your use cases?

Best Regards,
George
George Cristian Bina
jelovirt
Posts: 84
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Post by jelovirt »

The most common use case I have is when editing non-XML documents, thus markup is not an issue for me. If the sort was to prompt for something, it could have a switch for ignoring whitespace, ignoring markup, key generation (code point, treat at number, natural sort order by language).
Post Reply