*8940* Fix sorting of categories