Sorting out links