Song sort fixes

Fixes song show sort problems, and refactored category handling on song show and artist show.