TEIID-2429 refining the large sort performance