Sort local file list based on modification time (newest first)

When we are searching for the version number we want to visit the least
recently modified file first. Therefore we shall sort the readdir result
based on the modification timestamp.

Signed-off-by: Jan Blunck <jblunck@infradead.org>