Add sortOn method to JS arrays – sorts on single or successive fields.

Usage: