Add sort and edit functions

Add two options for edit and sort tag's label