I need configuration information

Hi, Welcome to Discourse meta

This functionality doesn’t exist in discourse, You’ll have to create a plugin to count the tag usage

If you go to /categories the number of posts is displayed next to the category name.

I don’t follow what do you want to sort here?

Again, You’ll need to write some kind of theme component or plugin for that.