fix for sorting issue on XDATA projects