{"action":"created","comment":{"url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/comments/79747535","id":79747535,"diff_hunk":"@@ -129,6 +129,21 @@ const tests = {\n       {name: {first: 'bat'}},\n     ],\n   },\n+  'can handle property callback': {\n+    input: [\n+      [\n+        {name: {first: 'baz'}},\n+        {name: {first: 'bat'}},\n+        {name: {first: 'foo'}},\n+      ],\n+      'ba',\n+      {keys: [(item) => item.name.first]},","path":"src/index.test.js","position":null,"original_position":12,"commit_id":"e79a6cd52a8508ea63032dc991d40ed51c54b5e3","original_commit_id":"23cc7f4fc841d20952f9da5bdf3a111807226b4d","user":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"body":"Fixed!","created_at":"2016-09-21T01:42:33Z","updated_at":"2016-09-21T01:42:33Z","html_url":"https://github.com/kentcdodds/match-sorter/pull/19#discussion_r79747535","pull_request_url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/comments/79747535"},"html":{"href":"https://github.com/kentcdodds/match-sorter/pull/19#discussion_r79747535"},"pull_request":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19","id":86081167,"html_url":"https://github.com/kentcdodds/match-sorter/pull/19","diff_url":"https://github.com/kentcdodds/match-sorter/pull/19.diff","patch_url":"https://github.com/kentcdodds/match-sorter/pull/19.patch","issue_url":"https://api.github.com/repos/kentcdodds/match-sorter/issues/19","number":19,"state":"open","locked":false,"title":"Added support for callback properties (#21)","user":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"body":"Hey @kentcdodds, first of all, thanks for this great library, only stumbled upon it a few days ago but already it's truly been a godsend when implementing in-memory search/filtering functionality 😄 \r\n\r\nOne lacking feature so far however has been support for callback properties. This is especially useful for  interfacing with libraries such as Immutable.js\r\n\r\nI've updated the tests and documentation, take a look when you get the chance and let me know if there are any changes you'd like to be made :)\r\n\r\nCheers!","created_at":"2016-09-21T00:51:02Z","updated_at":"2016-09-21T01:42:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"144723e337e5d6d7d8083492e1543ef692b7cf69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19/commits","review_comments_url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19/comments","review_comment_url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kentcdodds/match-sorter/issues/19/comments","statuses_url":"https://api.github.com/repos/kentcdodds/match-sorter/statuses/e79a6cd52a8508ea63032dc991d40ed51c54b5e3","head":{"label":"clauderic:master","ref":"master","sha":"e79a6cd52a8508ea63032dc991d40ed51c54b5e3","user":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"repo":{"id":68620119,"name":"match-sorter","full_name":"clauderic/match-sorter","owner":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clauderic/match-sorter","description":"Simple, expected, and deterministic best-match sorting of an array in JavaScript","fork":true,"url":"https://api.github.com/repos/clauderic/match-sorter","forks_url":"https://api.github.com/repos/clauderic/match-sorter/forks","keys_url":"https://api.github.com/repos/clauderic/match-sorter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clauderic/match-sorter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clauderic/match-sorter/teams","hooks_url":"https://api.github.com/repos/clauderic/match-sorter/hooks","issue_events_url":"https://api.github.com/repos/clauderic/match-sorter/issues/events{/number}","events_url":"https://api.github.com/repos/clauderic/match-sorter/events","assignees_url":"https://api.github.com/repos/clauderic/match-sorter/assignees{/user}","branches_url":"https://api.github.com/repos/clauderic/match-sorter/branches{/branch}","tags_url":"https://api.github.com/repos/clauderic/match-sorter/tags","blobs_url":"https://api.github.com/repos/clauderic/match-sorter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clauderic/match-sorter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clauderic/match-sorter/git/refs{/sha}","trees_url":"https://api.github.com/repos/clauderic/match-sorter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clauderic/match-sorter/statuses/{sha}","languages_url":"https://api.github.com/repos/clauderic/match-sorter/languages","stargazers_url":"https://api.github.com/repos/clauderic/match-sorter/stargazers","contributors_url":"https://api.github.com/repos/clauderic/match-sorter/contributors","subscribers_url":"https://api.github.com/repos/clauderic/match-sorter/subscribers","subscription_url":"https://api.github.com/repos/clauderic/match-sorter/subscription","commits_url":"https://api.github.com/repos/clauderic/match-sorter/commits{/sha}","git_commits_url":"https://api.github.com/repos/clauderic/match-sorter/git/commits{/sha}","comments_url":"https://api.github.com/repos/clauderic/match-sorter/comments{/number}","issue_comment_url":"https://api.github.com/repos/clauderic/match-sorter/issues/comments{/number}","contents_url":"https://api.github.com/repos/clauderic/match-sorter/contents/{+path}","compare_url":"https://api.github.com/repos/clauderic/match-sorter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clauderic/match-sorter/merges","archive_url":"https://api.github.com/repos/clauderic/match-sorter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clauderic/match-sorter/downloads","issues_url":"https://api.github.com/repos/clauderic/match-sorter/issues{/number}","pulls_url":"https://api.github.com/repos/clauderic/match-sorter/pulls{/number}","milestones_url":"https://api.github.com/repos/clauderic/match-sorter/milestones{/number}","notifications_url":"https://api.github.com/repos/clauderic/match-sorter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clauderic/match-sorter/labels{/name}","releases_url":"https://api.github.com/repos/clauderic/match-sorter/releases{/id}","deployments_url":"https://api.github.com/repos/clauderic/match-sorter/deployments","created_at":"2016-09-19T15:40:34Z","updated_at":"2016-09-19T15:40:35Z","pushed_at":"2016-09-21T01:39:47Z","git_url":"git://github.com/clauderic/match-sorter.git","ssh_url":"git@github.com:clauderic/match-sorter.git","clone_url":"https://github.com/clauderic/match-sorter.git","svn_url":"https://github.com/clauderic/match-sorter","homepage":"https://www.npmjs.com/package/match-sorter","size":35,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kentcdodds:master","ref":"master","sha":"5f37e2e3e80bc5525dea7b975646894fd1627158","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"repo":{"id":66523440,"name":"match-sorter","full_name":"kentcdodds/match-sorter","owner":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kentcdodds/match-sorter","description":"Simple, expected, and deterministic best-match sorting of an array in JavaScript","fork":false,"url":"https://api.github.com/repos/kentcdodds/match-sorter","forks_url":"https://api.github.com/repos/kentcdodds/match-sorter/forks","keys_url":"https://api.github.com/repos/kentcdodds/match-sorter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kentcdodds/match-sorter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kentcdodds/match-sorter/teams","hooks_url":"https://api.github.com/repos/kentcdodds/match-sorter/hooks","issue_events_url":"https://api.github.com/repos/kentcdodds/match-sorter/issues/events{/number}","events_url":"https://api.github.com/repos/kentcdodds/match-sorter/events","assignees_url":"https://api.github.com/repos/kentcdodds/match-sorter/assignees{/user}","branches_url":"https://api.github.com/repos/kentcdodds/match-sorter/branches{/branch}","tags_url":"https://api.github.com/repos/kentcdodds/match-sorter/tags","blobs_url":"https://api.github.com/repos/kentcdodds/match-sorter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kentcdodds/match-sorter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kentcdodds/match-sorter/git/refs{/sha}","trees_url":"https://api.github.com/repos/kentcdodds/match-sorter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kentcdodds/match-sorter/statuses/{sha}","languages_url":"https://api.github.com/repos/kentcdodds/match-sorter/languages","stargazers_url":"https://api.github.com/repos/kentcdodds/match-sorter/stargazers","contributors_url":"https://api.github.com/repos/kentcdodds/match-sorter/contributors","subscribers_url":"https://api.github.com/repos/kentcdodds/match-sorter/subscribers","subscription_url":"https://api.github.com/repos/kentcdodds/match-sorter/subscription","commits_url":"https://api.github.com/repos/kentcdodds/match-sorter/commits{/sha}","git_commits_url":"https://api.github.com/repos/kentcdodds/match-sorter/git/commits{/sha}","comments_url":"https://api.github.com/repos/kentcdodds/match-sorter/comments{/number}","issue_comment_url":"https://api.github.com/repos/kentcdodds/match-sorter/issues/comments{/number}","contents_url":"https://api.github.com/repos/kentcdodds/match-sorter/contents/{+path}","compare_url":"https://api.github.com/repos/kentcdodds/match-sorter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kentcdodds/match-sorter/merges","archive_url":"https://api.github.com/repos/kentcdodds/match-sorter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kentcdodds/match-sorter/downloads","issues_url":"https://api.github.com/repos/kentcdodds/match-sorter/issues{/number}","pulls_url":"https://api.github.com/repos/kentcdodds/match-sorter/pulls{/number}","milestones_url":"https://api.github.com/repos/kentcdodds/match-sorter/milestones{/number}","notifications_url":"https://api.github.com/repos/kentcdodds/match-sorter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kentcdodds/match-sorter/labels{/name}","releases_url":"https://api.github.com/repos/kentcdodds/match-sorter/releases{/id}","deployments_url":"https://api.github.com/repos/kentcdodds/match-sorter/deployments","created_at":"2016-08-25T04:04:48Z","updated_at":"2016-09-20T20:02:19Z","pushed_at":"2016-09-21T01:39:47Z","git_url":"git://github.com/kentcdodds/match-sorter.git","ssh_url":"git@github.com:kentcdodds/match-sorter.git","clone_url":"https://github.com/kentcdodds/match-sorter.git","svn_url":"https://github.com/kentcdodds/match-sorter","homepage":"https://www.npmjs.com/package/match-sorter","size":35,"stargazers_count":178,"watchers_count":178,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19"},"html":{"href":"https://github.com/kentcdodds/match-sorter/pull/19"},"issue":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/issues/19"},"comments":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/kentcdodds/match-sorter/statuses/e79a6cd52a8508ea63032dc991d40ed51c54b5e3"}}}}
{"actor":{"display_login":"clauderic"}}