sort the list of boot files detected to pick the same matching version of initrd and vmlinuz