added sorting for other xrefs