Sort file by creating date.