[fix] sort fetched files when getting meta data