Initial implementation of ticket #879 (nicer tag sorting on catalog front end).