Javadoc
Sorts the actions by their important, the most important action
has to be at index 0
, while the least important action
is at index actions.length-1
. This method must not add or remove
any actions from action
, it must only rearrange the content of
actions