fix sorting when rotating more than 10 logfiles