HOME

Welcome to sortX.com, the web site for a component that gives your application high performance file sorting functionality.

sortX is designed for those of us that deal with flat files, delimited files, fixed and variable length record text files Visual Basic 6 arrays. This program is ideal for handling files form legacy or mainframe type applications. Written in C++ and Assembler, this powerful component can sort text files fast, using your computers RAM effectively due to its powerful sort architecture.

sortX sorts all types of records and can deal with those that contain embedded nulls (hex '00's) that it handles in a specific way

The execution of the sortX functions is made very simple by the fact that they are held in a Type Library DLL for VB6, or .NET assembly for VB.NET and C#.NET. Its a case of making a small change in your  project, 'References' to indicate the use of this Type Library or Assembly

You can easily execute functions as demonstrated in the sample lines of VB6 code below:

 

Dim SX As New SortX 'Declare SortX
Dim iReturn As Integer 'Used for return code

SX.DefineLeft 5, Ascending 'Define first 5 columns as ascending

'Now we execute the sort
iReturn = SX.Execute("c:\temp\sort.txt", "c:\temp\sortout.txt")

'sortX is capable of sorting data with complex criteria and has many 'customisable options. For a more advanced example, see below

To see a more advanced example click here.

Our download gives examples in VB6 and C#

sortX also has full online help when used in your projects, just highlight the appropriate sortX keyword and hit 'F1' in the normal manner.

Client testimonial - "I was looking for a sort I could incorporate directly into Visual Basic programs rather than using shell to call an external sort......My worst process which was taking about 25 minutes now takes a few seconds. Everything seems to be going smoothly with the implementation."