Same place Lonkero, and yes, they are sorted (by date of install - which is not what I want).

Now to let my ignorance of Array and these UDFs show.

Jens...

Do you mean something like this?

code:
Break On
$tempfile=("c:\temp\@wksta.log")
$tempfile2=("c:\temp\Inventory_@wksta.log")
if open(1,$tempfile) = 0
$Array = readline(1)
WHILE @error = 0
$DoSort=QSort($Array)
$Array = readline(1)
$NewFile=Open(2,$tempfile2,5)
$wl=writeline(2,"$Array")
Loop
$x=Close(1)
$x=Close(2)
Endif

Which does not seem to work. Can you post an example please?

I'm working on modifying some code that BoxKite recently posted, but I wanted a sorted output.