added ordering to topics