I know such algorithm would not be easy as even if boot optimization is turned on in Windows it relies on Prefetch and Layout.ini which is not accurate and it includes 2 levels of files - those used at boot time and those frequently launched, so it's trying to move all of them in certain order closer to the start of the disk.
Windows XP had a nice tool BootVis which was monitoring the order of loading Win kernel, drivers and boot apps. There's something similar for Vista/W7 called WPT (Windows Performance Analysis Toolkit). Is there any chance something like this can be implemented in a future?
Windows built-in boot optimization relies on the built-in defraggler, so if I completely replace it with Defraggler I loose this boot optimization and it would be excellent if it would support something similar
Though, I would love to have the full control over the boot process and be able to manually change the order of drivers, startup apps, services... There are some dummy boot delay apps that do more or less decent job like Soluto, but that's not sufficient