Sort an array according to the weight of its items.
The weight of the items is defined as an integer; a position relative to
another member of the array
after:<key>; the special words
The callback function used to pick the weight of the item. The function is
called with the following arguments:
Return value summary
||A sorted copy of the array.|