Rearranges import order.