{"action":"closed","issue":{"url":"https://api.github.com/repos/NorthwoodsSoftware/GoJS/issues/60","repository_url":"https://api.github.com/repos/NorthwoodsSoftware/GoJS","labels_url":"https://api.github.com/repos/NorthwoodsSoftware/GoJS/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/NorthwoodsSoftware/GoJS/issues/60/comments","events_url":"https://api.github.com/repos/NorthwoodsSoftware/GoJS/issues/60/events","html_url":"https://github.com/NorthwoodsSoftware/GoJS/issues/60","id":340753414,"node_id":"MDU6SXNzdWUzNDA3NTM0MTQ=","number":60,"title":"Documentation Bug - GridLayout sorting","user":{"login":"christopherreay","id":239550,"node_id":"MDQ6VXNlcjIzOTU1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/239550?v=4","gravatar_id":"","url":"https://api.github.com/users/christopherreay","html_url":"https://github.com/christopherreay","followers_url":"https://api.github.com/users/christopherreay/followers","following_url":"https://api.github.com/users/christopherreay/following{/other_user}","gists_url":"https://api.github.com/users/christopherreay/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherreay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherreay/subscriptions","organizations_url":"https://api.github.com/users/christopherreay/orgs","repos_url":"https://api.github.com/users/christopherreay/repos","events_url":"https://api.github.com/users/christopherreay/events{/privacy}","received_events_url":"https://api.github.com/users/christopherreay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-12T18:40:54Z","updated_at":"2018-07-12T19:29:42Z","closed_at":"2018-07-12T19:29:42Z","author_association":"NONE","body":"on this page:\r\nhttps://gojs.net/latest/api/symbols/GridLayout.html\r\nthis text:\r\n``` javascript\r\n  $(go.GridLayout,\r\n    {\r\n      sorting: go.TreeLayout.SortingAscending,\r\n      comparer: function(pa, pb) {\r\n        var da = pa.data;\r\n        var db = pb.data;\r\n        if (da.someProperty < db.someProperty) return -1;\r\n        if (da.someProperty > db.someProperty) return 1;\r\n        return 0;\r\n      }\r\n    }\r\n  )\r\n```\r\n\r\nI believe should read:\r\n``` javascript\r\n  $(go.GridLayout,\r\n    {\r\n      sorting: go.GridLayout.Ascending,\r\n      comparer: function(pa, pb) {\r\n        var da = pa.data;\r\n        var db = pb.data;\r\n        if (da.someProperty < db.someProperty) return -1;\r\n        if (da.someProperty > db.someProperty) return 1;\r\n        return 0;\r\n      }\r\n    }\r\n  )\r\n```"}}
{"actor":{"display_login":"simonsarris"}}