Use Unix command-line tools in Windows
From Vim Tips Wiki
created 2001 · complexity basic · author Benji Fisher · version 5.7
If you use Vim on Windows, but wish you had some of those nifty UNIX command-line tools, there are several places you can find them. The best-known is probably Cygwin (http://www.cygwin.com/), a comprehensive Linux-like environment that includes a large collection of the familiar UNIX commands.
Cygwin can be overkill if you just want a command or two, however. Here are some other options:
A web search for windows unix utilities will uncover plenty of others.
Of course, if all you need is
sort, don't forget that Vim now has built-in versions of both.