added ordering for category pages