Looking for SORT PROGRAM - Pascal WIN 1.5

I am looking for a SORT Program (Pascal) for WIN 1.5, including Source code..  

I had one by Borland for Pascal 3.0 for DOS but receives run time errors.  The
program was for DOS and when the Conventional memory was used, it used the hard
drive as memory.  It compiles but results in a run time error.  I think it has
to do with Integer versus Long Interger.

Any help will be appreciated or I can send you my Sort source code for
debugging.

thanks

DMH...@aol.com