improved of file sorting by date