Settings pages are often the dumping ground of enterprise software.
Search is Mandatory
If you have more than 3 categories of settings, you must include a local search that highlights the matching setting directly on the page.
Categorization
Group settings by user intent, not database architecture. Use a Master-Detail layout for the settings categories.