add func to vsite_menu to order menu links #3307
clean up pseudocode
move new function from vsite_menu to vsite_preset #3307
Merge pull request #3641 from openscholar/3307-menu_sort_func

add func to vsite_menu to order menu links #3307