reverse output of list in the view
You have to implement the hook_menu_alter and adjust the links weight property to your will. Here is a sample code that changes the node's default contextual links by placing the delete link over the edit link:

/**
 * Implements hook_menu_alter().
 */
function foo_menu_alter(&amp;$items) {
  $items['node/%node/delete']['weight'] = 0;
  $items['node/%node/edit']['weight'] = 1;
}


Keep in mind that the smallest the weight of a link the more will flow on top, negative numbers may also be used.