in reply to Join files using perl

In addition to Cygwin, there are also the standalone GNU utilities for Win32 (including sort and join):

Here are some ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools.