Quote:

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 ...




Zero fill the "uptime" field to a suitable length, append the other data and add to an array. Sort the array then split the data out and use directly - no need to change the order in the ini file.