normalize importOrder.js funtion