Adds a more complex sort example to SYNOPSIS

Thanks very much for your work on this.  It was exactly what I was looking for earlier today.  I ended up digging into the tests to find an example of how to sort an array of hashrefs.  I feel like this might make a good addition to the SYNOPSIS, which keeps things pretty simple for the most part.

Also a small typo fix in other code sample.