only add UI to tags if we have them
modernize, fix and better document reorder.pl
UI sample for calling reorder.pl from JS