brad summerquist <[email protected]> wrote:

> I'm using gvim 8.1.1 on windows 10 without a profile ("gvim -u NONE").
>
> I'm running the ":sort" command on the following lines:
>
> a
> z
> B
> b
>
> :sort is giving me this =>
>
> B
> a
> b
> z

That's the expected behavior.
Sort is case sensitive.

> I'd expect the lowercase 'a' to be sorted before the uppercase 'B', like so =>
>
> a
> B
> b
> z
>
> Is this expected behavior?  Is there anything I can set to make sort behave 
> the way I want it to?

To get what you want, you have to use  :sort i  to ignore case.
See:  :help :sort

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui