Added documentation indicating the sorter method can throw an exception if any of the arguments are null.