Sanitize catalogs names when comparing them

Also remove old and unused "changeSort" method.