I run rEFInd on my laptop with Windows 10 and elementary OS. If I do not configure manual stanzas in rEFInd, it picks up the latest kernel version for elementary and displays: Windows 10, efi-grub and elementary OS, in that order. I want to change this order and display Windows 10, elementary OS and efi-grub. The reason I want to leave the grub entry is because it has the recovery option.
Currently, I achieve this using manual stanzas. But the problem in this case is that the code for elementary OS has the kernel number. Because of this, whenever I upgrade the kernel, rEFInd still runs the old kernel until I change it manually.
Any ideas for fixes? Or perhaps there is a .efi file for elementary OS that is compiled whenever a new kernel version is installed?