If only want the last one why do you need to sort?

Just keep a track of one hotfix and it's date. If the next hotfix that you enumerate is later then set your remembered hotfix and date to its value.

You will need to decide how to handle hotfixes with the same date and time.

If the date is not in "YYYY-MM-DD HH:MM:SS" order then re-order it - it will make you comparison much easier.