sorting of topics