third table sort on sections transfer and refresh

Now sections with all their child subsections are sortable
third table editable bug fixes. Clean up&comment