Tell us what you are trying to do?
Taxonomys are displayed desc or asc alphabetically. So for example:
ZTaxonomy1
- - ASub taxonomy1
ATaxonomy2
- - ZSub taxonomy2
Is displayed as" ASub taxonomy1, ZTaxonomy1 " and "ATaxonomy2, ZSub taxonomy2." but I need it always to display in view table and single post page inline field so that Main taxonomy is always first and sub taxonomy is 2nd = "ZTaxonomy1, ASub taxonomy1, " and "ATaxonomy2, ZSub taxonomy2."
Is there any documentation that you are following?
There isn't such an option, to order the terms according to their hierarchy.
I'll admit I'm surprised this hasn't been proposed before, I don't see any internal ticket about providing such an option, although it's a sensible one, so I will create such a request and hopefully it is a setting we can add in the UI.
In the meantime I wrote a shortcode you can use.
Go to Toolset > Settings > Custom Code and add the following to a code snippet: