Sort your lines with text objects (like ap
) and visual mode!
By default, gs
is overridden in Normal and Visual mode to be a sort operator.
So gsap
will sort the lines of a paragraph.
You can configure the mapping: see :help vimsort-configuration
.