How do I re-order tabs in user page? I'm developing a drupal 7 based website where the user profiles need some modification. Now I need to know how can I re-order tabs in user profile page such as, View, Edit, etc.

i'd like to keep the current tabs, but just reorder them. I'm looking for an easy way to do that.
You can use hook_menu_local_tasks_alter for example in the bellow example i will change the order between tab 2 and tab 3:

/**
 * Implements hook_menu_local_tasks_alter().
 */
function YouModule_menu_local_tasks_alter(&amp;$data, $router_item, $root_path) {
  if (isset($data['tabs'][0]['output'])) {
   $data['tabs'][0]['output'][0]['#weight'] = 0;
   $data['tabs'][0]['output'][1]['#weight'] = 2;
   $data['tabs'][0]['output'][2]['#weight'] = 1;
   $data['tabs'][0]['output'][3]['#weight'] = 3;
   $data['tabs'][0]['output'][4]['#weight'] = 4;
  }
}