added sort function

added sort function to resource manager and file manager detail mode.
remained manual sort for other node tree (contents node, template node,
whatever)