I used to use Orbx’s FTXCentral utility to re-sort scenery layers to proper sequential order. FTXCentral is good but have a number of cons.
FSTscenery by Steve Greenwood is an extremely helpful alternative if sorting Layer number sequence/priority is the only requirement. It creates a new version of scenery.CFG with all areas ordered properly. Gaps in area or layer numbers are also deleted.
The file can be downloaded from Steve’s flight-sim traveler website.
Following is the fsx.CFG I used for my GigaByte Nvidia GTX285. Nvidia driver used is 184.108.40.20696 with nHancer 220.127.116.11
Average framerate achieve is 39 on my Dell 30-inch.
AffinityMask=14 // 14 for last 3 cores — No need setting to 15 for 4 cores
RejectThreshold=126976 //124Kb = 126976
ALLOW_SHADER_30=1 // === Important to assist PoolSize ===
HIGHMEMFIX=1 // Fix errors of black squares around lights whilst panning around
STALE_BUFFER_THRESHOLD=1024 // 1024 in KB
TextureMaxLoad=12 //Use multiples of 3 ONLY but may induce stutters