use the old DOS command SORT
Try SORT /? for syntax
For example the command is
SORT < "c:\my file to sort" > "c:\my sorted file"
Easy isn't.
It perform and alphanumerical sort from left to right.

You can start this command from that kind of .kix line

SHELL "CMD /C SORT < "+$INFILE+" > "+$>OUTFILE

Have fun with this