Fix sorting issue when displaying links
Stop printing with Debug and add total links message