sivan: i think the problem in d3d_entsort