Evaluate -- Optimization when file is sorted