Lonkero: The original post asked for sorting of a text file after it has been populated. further down, the moethod has bee refined to populate a software inventory into an arrya, then sort, then write into a file.

So, the focus has changed throughout the thread.
_________________________
There are two types of vessels, submarines and targets.