Yes you are right. Visual mode is usually used to move / search / copy / delete blocks of text.
However, some tricks you can do are pass this block of text to external programs, such as sorting.
Assuming you have selected text with a visual mode, you can call (for example):
!sort
sort unix (- "!" ). , , .