Finalized admin meta_terms

improvments and test for sorting