{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3982","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3982/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3982/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3982/events","html_url":"https://github.com/facebook/react-native/issues/3982","id":115724575,"number":3982,"title":"[JSC] function (Array.sort) won't sort Array","user":{"login":"LeoJiaXin","id":7020278,"avatar_url":"https://avatars.githubusercontent.com/u/7020278?v=3","gravatar_id":"","url":"https://api.github.com/users/LeoJiaXin","html_url":"https://github.com/LeoJiaXin","followers_url":"https://api.github.com/users/LeoJiaXin/followers","following_url":"https://api.github.com/users/LeoJiaXin/following{/other_user}","gists_url":"https://api.github.com/users/LeoJiaXin/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoJiaXin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoJiaXin/subscriptions","organizations_url":"https://api.github.com/users/LeoJiaXin/orgs","repos_url":"https://api.github.com/users/LeoJiaXin/repos","events_url":"https://api.github.com/users/LeoJiaXin/events{/privacy}","received_events_url":"https://api.github.com/users/LeoJiaXin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-08T10:56:30Z","updated_at":"2015-11-08T17:27:01Z","closed_at":"2015-11-08T17:27:01Z","body":"```\r\nvar a = [1,3,2];\r\na.sort((num1, num2) => num1 > num2);\r\nGlobal.alert('' + a);\r\n```\r\nAnd it logs [1,3,2],function `sort` does nothing\r\n\r\n"}}