ESSENTIALS-293: Sort installed features that require rebuild or setup first.