When the HDF5 file is parsed, the order of external links isn't guaranteed (iterating over a dictionary-like structure), nor is it guaranteed that each sample will have an external link.