fix for columns out of order in MQL