It sorted out my Apple Music library by finding duplicate songs. Then it merged them together to be only one file of the song. It also found missing tracks as well as orphaned ones.
I found something available from the App Store called Tunesweeper and apparently it was free since I had Song Sergeant originally. I found it earlier this week and I was surprised what it did.