{"action":"opened","number":2392,"pull_request":{"url":"https://api.github.com/repos/jashkenas/underscore/pulls/2392","id":53906432,"html_url":"https://github.com/jashkenas/underscore/pull/2392","diff_url":"https://github.com/jashkenas/underscore/pull/2392.diff","patch_url":"https://github.com/jashkenas/underscore/pull/2392.patch","issue_url":"https://api.github.com/repos/jashkenas/underscore/issues/2392","number":2392,"state":"open","locked":false,"title":"Add reversed option for sortBy","user":{"login":"uruz","id":132377,"avatar_url":"https://avatars.githubusercontent.com/u/132377?v=3","gravatar_id":"","url":"https://api.github.com/users/uruz","html_url":"https://github.com/uruz","followers_url":"https://api.github.com/users/uruz/followers","following_url":"https://api.github.com/users/uruz/following{/other_user}","gists_url":"https://api.github.com/users/uruz/gists{/gist_id}","starred_url":"https://api.github.com/users/uruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uruz/subscriptions","organizations_url":"https://api.github.com/users/uruz/orgs","repos_url":"https://api.github.com/users/uruz/repos","events_url":"https://api.github.com/users/uruz/events{/privacy}","received_events_url":"https://api.github.com/users/uruz/received_events","type":"User","site_admin":false},"body":"It would be nice to have an option to sort the array with `_.sortBy` in a descending order, like it's done in Python's sorting function for lists.","created_at":"2015-12-16T22:12:49Z","updated_at":"2015-12-16T22:12:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jashkenas/underscore/pulls/2392/commits","review_comments_url":"https://api.github.com/repos/jashkenas/underscore/pulls/2392/comments","review_comment_url":"https://api.github.com/repos/jashkenas/underscore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jashkenas/underscore/issues/2392/comments","statuses_url":"https://api.github.com/repos/jashkenas/underscore/statuses/3c8a0516e18e7ca8fb008772b981c291e419ec71","head":{"label":"uruz:reversed-option","ref":"reversed-option","sha":"3c8a0516e18e7ca8fb008772b981c291e419ec71","user":{"login":"uruz","id":132377,"avatar_url":"https://avatars.githubusercontent.com/u/132377?v=3","gravatar_id":"","url":"https://api.github.com/users/uruz","html_url":"https://github.com/uruz","followers_url":"https://api.github.com/users/uruz/followers","following_url":"https://api.github.com/users/uruz/following{/other_user}","gists_url":"https://api.github.com/users/uruz/gists{/gist_id}","starred_url":"https://api.github.com/users/uruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uruz/subscriptions","organizations_url":"https://api.github.com/users/uruz/orgs","repos_url":"https://api.github.com/users/uruz/repos","events_url":"https://api.github.com/users/uruz/events{/privacy}","received_events_url":"https://api.github.com/users/uruz/received_events","type":"User","site_admin":false},"repo":{"id":48115946,"name":"underscore","full_name":"uruz/underscore","owner":{"login":"uruz","id":132377,"avatar_url":"https://avatars.githubusercontent.com/u/132377?v=3","gravatar_id":"","url":"https://api.github.com/users/uruz","html_url":"https://github.com/uruz","followers_url":"https://api.github.com/users/uruz/followers","following_url":"https://api.github.com/users/uruz/following{/other_user}","gists_url":"https://api.github.com/users/uruz/gists{/gist_id}","starred_url":"https://api.github.com/users/uruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uruz/subscriptions","organizations_url":"https://api.github.com/users/uruz/orgs","repos_url":"https://api.github.com/users/uruz/repos","events_url":"https://api.github.com/users/uruz/events{/privacy}","received_events_url":"https://api.github.com/users/uruz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uruz/underscore","description":"JavaScript's utility _ belt","fork":true,"url":"https://api.github.com/repos/uruz/underscore","forks_url":"https://api.github.com/repos/uruz/underscore/forks","keys_url":"https://api.github.com/repos/uruz/underscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uruz/underscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uruz/underscore/teams","hooks_url":"https://api.github.com/repos/uruz/underscore/hooks","issue_events_url":"https://api.github.com/repos/uruz/underscore/issues/events{/number}","events_url":"https://api.github.com/repos/uruz/underscore/events","assignees_url":"https://api.github.com/repos/uruz/underscore/assignees{/user}","branches_url":"https://api.github.com/repos/uruz/underscore/branches{/branch}","tags_url":"https://api.github.com/repos/uruz/underscore/tags","blobs_url":"https://api.github.com/repos/uruz/underscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uruz/underscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uruz/underscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/uruz/underscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uruz/underscore/statuses/{sha}","languages_url":"https://api.github.com/repos/uruz/underscore/languages","stargazers_url":"https://api.github.com/repos/uruz/underscore/stargazers","contributors_url":"https://api.github.com/repos/uruz/underscore/contributors","subscribers_url":"https://api.github.com/repos/uruz/underscore/subscribers","subscription_url":"https://api.github.com/repos/uruz/underscore/subscription","commits_url":"https://api.github.com/repos/uruz/underscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/uruz/underscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/uruz/underscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/uruz/underscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/uruz/underscore/contents/{+path}","compare_url":"https://api.github.com/repos/uruz/underscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uruz/underscore/merges","archive_url":"https://api.github.com/repos/uruz/underscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uruz/underscore/downloads","issues_url":"https://api.github.com/repos/uruz/underscore/issues{/number}","pulls_url":"https://api.github.com/repos/uruz/underscore/pulls{/number}","milestones_url":"https://api.github.com/repos/uruz/underscore/milestones{/number}","notifications_url":"https://api.github.com/repos/uruz/underscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uruz/underscore/labels{/name}","releases_url":"https://api.github.com/repos/uruz/underscore/releases{/id}","created_at":"2015-12-16T14:43:22Z","updated_at":"2015-12-16T14:43:25Z","pushed_at":"2015-12-16T21:04:46Z","git_url":"git://github.com/uruz/underscore.git","ssh_url":"git@github.com:uruz/underscore.git","clone_url":"https://github.com/uruz/underscore.git","svn_url":"https://github.com/uruz/underscore","homepage":"http://underscorejs.org","size":4939,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jashkenas:master","ref":"master","sha":"70305b02a1bb4c4852924f1684eed419c745d37e","user":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"repo":{"id":349241,"name":"underscore","full_name":"jashkenas/underscore","owner":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jashkenas/underscore","description":"JavaScript's utility _ belt","fork":false,"url":"https://api.github.com/repos/jashkenas/underscore","forks_url":"https://api.github.com/repos/jashkenas/underscore/forks","keys_url":"https://api.github.com/repos/jashkenas/underscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jashkenas/underscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jashkenas/underscore/teams","hooks_url":"https://api.github.com/repos/jashkenas/underscore/hooks","issue_events_url":"https://api.github.com/repos/jashkenas/underscore/issues/events{/number}","events_url":"https://api.github.com/repos/jashkenas/underscore/events","assignees_url":"https://api.github.com/repos/jashkenas/underscore/assignees{/user}","branches_url":"https://api.github.com/repos/jashkenas/underscore/branches{/branch}","tags_url":"https://api.github.com/repos/jashkenas/underscore/tags","blobs_url":"https://api.github.com/repos/jashkenas/underscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jashkenas/underscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jashkenas/underscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/jashkenas/underscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jashkenas/underscore/statuses/{sha}","languages_url":"https://api.github.com/repos/jashkenas/underscore/languages","stargazers_url":"https://api.github.com/repos/jashkenas/underscore/stargazers","contributors_url":"https://api.github.com/repos/jashkenas/underscore/contributors","subscribers_url":"https://api.github.com/repos/jashkenas/underscore/subscribers","subscription_url":"https://api.github.com/repos/jashkenas/underscore/subscription","commits_url":"https://api.github.com/repos/jashkenas/underscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/jashkenas/underscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/jashkenas/underscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/jashkenas/underscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/jashkenas/underscore/contents/{+path}","compare_url":"https://api.github.com/repos/jashkenas/underscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jashkenas/underscore/merges","archive_url":"https://api.github.com/repos/jashkenas/underscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jashkenas/underscore/downloads","issues_url":"https://api.github.com/repos/jashkenas/underscore/issues{/number}","pulls_url":"https://api.github.com/repos/jashkenas/underscore/pulls{/number}","milestones_url":"https://api.github.com/repos/jashkenas/underscore/milestones{/number}","notifications_url":"https://api.github.com/repos/jashkenas/underscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jashkenas/underscore/labels{/name}","releases_url":"https://api.github.com/repos/jashkenas/underscore/releases{/id}","created_at":"2009-10-25T18:31:06Z","updated_at":"2015-12-16T21:18:46Z","pushed_at":"2015-12-16T06:11:38Z","git_url":"git://github.com/jashkenas/underscore.git","ssh_url":"git@github.com:jashkenas/underscore.git","clone_url":"https://github.com/jashkenas/underscore.git","svn_url":"https://github.com/jashkenas/underscore","homepage":"http://underscorejs.org","size":10691,"stargazers_count":16747,"watchers_count":16747,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3775,"mirror_url":null,"open_issues_count":65,"forks":3775,"open_issues":65,"watchers":16747,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jashkenas/underscore/pulls/2392"},"html":{"href":"https://github.com/jashkenas/underscore/pull/2392"},"issue":{"href":"https://api.github.com/repos/jashkenas/underscore/issues/2392"},"comments":{"href":"https://api.github.com/repos/jashkenas/underscore/issues/2392/comments"},"review_comments":{"href":"https://api.github.com/repos/jashkenas/underscore/pulls/2392/comments"},"review_comment":{"href":"https://api.github.com/repos/jashkenas/underscore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jashkenas/underscore/pulls/2392/commits"},"statuses":{"href":"https://api.github.com/repos/jashkenas/underscore/statuses/3c8a0516e18e7ca8fb008772b981c291e419ec71"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":3,"changed_files":2}}