One other option might be to modify the VDPROJ file by hand, although I'm not sure whether that would be overwritten if you then make further changes through the UI. I just threw together a Setup project, added some prerequisites, built the project and then opened the project file in Notepad and saw this section:
"InstallerBootstrapper" = "3:2"
"BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
{
"Enabled" = "11:TRUE"
"PromptEnabled" = "11:TRUE"
"PrerequisitesLocation" = "2:1"
"Url" = "8:"
"ComponentsUrl" = "8:"
"Items"
{
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.7.2"
{
"Name" = "8:Microsoft .NET Framework 4.7.2 (x86 and x64)"
"ProductCode" = "8:.NETFramework,Version=v4.7.2"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.EdgeRuntime"
{
"Name" = "8:Edge WebView runtime"
"ProductCode" = "8:Microsoft.EdgeRuntime"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.CoreRuntime.3.1.x64"
{
"Name" = "8:.NET Core Runtime 3.1.32 (x64)"
"ProductCode" = "8:Microsoft.NetCore.CoreRuntime.3.1.x64"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.SqlServer.SqlLocalDB.15.0"
{
"Name" = "8:SQL Server 2019 Express LocalDB"
"ProductCode" = "8:Microsoft.SqlServer.SqlLocalDB.15.0"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Visual.C++.14.0.x86"
{
"Name" = "8:Visual C++ \"14\" Runtime Libraries (x86)"
"ProductCode" = "8:Microsoft.Visual.C++.14.0.x86"
}
}
}
If you reorder that
Items list then that might change the order of installation.