Re-order various required dependencies