1. In General Ledger > Configuration > Account Setup, select Account Structure
2. Move the segments up or down as needed
3. Receive a prompt asking if you're sure you want to make this change

The system will then start updating all of the accounts in the database. This will also update the account numbers in reports and previously posted history.