target sort now generates debug output