To arrange the events chronologically:
- D. The British government takes control of the East India Company's territories - This event occurred in 1858, following the Indian Rebellion of 1857.
- C. India's textile industry collapses - This decline happened during the late 19th century as British goods flooded the market and deindustrialization occurred.
- B. Gandhi organizes boycotts of British goods - This was a significant part of the Indian independence movement, particularly gaining momentum in the 1920s and 1930s.
- A. Written withdrawals from South Asia - This refers to the eventual withdrawal of British authority from India, culminating in independence in 1947.
So the order is: D, C, B, A.