Sorting by taxonomy sub-term weight
You can use hook_views_query_alter(&amp;$view, &amp;$query)
here you can pass extra sorting more sorting fields

http://www.chrisfree.me/2010/12/use-hookviewsqueryalter-handle-special-sort-cases
please check this link