Yeah, you could; Read the ini file into an array, sort the array with one of the excellent udfs we got here for that task, and write the sorted array to a new ini-file ...

But, why would you want to do this ? You want to log to an ini file ??
Please explain
_________________________