added sorted print of links