Add ability to pass sort and filter parameters to the 'all' method
Clean up the pull request