Added a sortBy method

This is a great set of utility methods. Nice work. 

This PR is for a very small addition, `sortBy`. I really dislike the way that the Swift `Array.sort` mutates the array itself. This `sortBy` implementation copies and sorts and as a result supports a more fluent usage:

    array.sort({$0 > $1}).unique()