Fix category ordering.