If you want to reorder the position of the Media
tab in BuddyPress, use the following piece of code in your theme’s functions.php file:
add_filter('rtmedia_media_tab_position', 'reorder_rtmedia_media_tab_position', 10, 1);
function reorder_rtmedia_media_tab_position( $pos ){
return 1;
}
Set the value for the position as you require.