It seems to me that the proper fix is rather to not try to sort the list of packages if we don't have any meaningful value in listfile_phys_offs... thus the attached patch.
It seems to me that the proper fix is rather to not try to sort the list of packages if we don't have any meaningful value in listfile_ phys_offs. .. thus the attached patch.