sorted idx file