We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort lines [ctrl-m F9] is ignoring a leading tick ' when sorting.
a b c 'a 'b 'c
Select the 6 lines and sort-by-line (ctrl-m F9)
a 'a b 'b c 'c
Sort lines ignored the leading ticks.
'a 'b 'c a b c
Sorted by ascii value [ ascii ' precedes ascii a,b,c]
The text was updated successfully, but these errors were encountered:
Note that other punctuation sorts as expected by ascii value
a b c 'a 'b 'c `a `b `c "a "b "c
sorts to
"a "b "c `a `b `c a 'a b 'b c 'c
Sorry, something went wrong.
For my current purposes (which are limited to English) I was able to patch the relevant line in SortLinesCommand.SortText
var orderedText = splitText.OrderBy(x => x, StringComparer.Ordinal);
But I fear this would break the sorts for people using other alphabets and codepoints.
No branches or pull requests
Environment
Description
Sort lines [ctrl-m F9] is ignoring a leading tick ' when sorting.
Steps to recreate
Select the 6 lines and sort-by-line (ctrl-m F9)
Current behavior
Sort lines ignored the leading ticks.
Expected behavior
Sorted by ascii value [ ascii ' precedes ascii a,b,c]
The text was updated successfully, but these errors were encountered: