When you have many settings, turn one long list into multiple shorter lists by clustering them. Your strategy for arranging them will depend on the total number of settings.
7 or fewer settings
Don’t group at all.
Try grouping related settings under 1 or 2 section dividers. If you have any "singletons" (settings that don't relate to any other settings and can't be grouped under your section dividers), treat them as follows:
Same advice as above, but try 2 to 4 section dividers.
Also, look for "doubles": two settings that relate to one another, but not to any other settings. Try to combine them into one setting. For example, you might be able to redesign two related checkbox settings into one multiple choice setting.
If you have any instances of 4 or more related settings, group them under a subscreen. Apply the guidance above to each subscreen.