vscode-extension-transformer
vscode-extension-transformer copied to clipboard
Sort options
Is it possible to control whether the sort is case-sensitive or case-insensitive and whether it is ascending or descending?
Currently it is not possible to choose case when sorting. However, for ascending or descending you can always just issue the 'reverse' command.
I have a somewhat related feature idea - though not sure if it something that is commonly used or needed.
I sometimes have strings that are "Big-Endian", i.e. the relevant character/grouping criterion is at the end of the line, instead of the front.
Here's an example:
FeatureA
FeatureA2
FeatureB
TestA
TestA2
TestB
What I would like to do is get
FeatureA
TestA
FeatureA2
TestA2
FeatureB
TestB
- the empty lines are only there to seperate the "groups" when ordering
- the exact order of the elements in each group doesn't matter (I can order them afterwards)
- the exact order of the groups doesn't matter
I could achieve this with "reverse each line", "sort" "reverse each line" - but I must admit I don't know enough about unicode to estimate if this is actually feasible.