{"action":"created","issue":{"url":"https://api.github.com/repos/anvaka/pm/issues/7","labels_url":"https://api.github.com/repos/anvaka/pm/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/anvaka/pm/issues/7/comments","events_url":"https://api.github.com/repos/anvaka/pm/issues/7/events","html_url":"https://github.com/anvaka/pm/issues/7","id":104978490,"number":7,"title":"sort results in search & info","user":{"login":"job","id":153816,"avatar_url":"https://avatars.githubusercontent.com/u/153816?v=3","gravatar_id":"","url":"https://api.github.com/users/job","html_url":"https://github.com/job","followers_url":"https://api.github.com/users/job/followers","following_url":"https://api.github.com/users/job/following{/other_user}","gists_url":"https://api.github.com/users/job/gists{/gist_id}","starred_url":"https://api.github.com/users/job/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/job/subscriptions","organizations_url":"https://api.github.com/users/job/orgs","repos_url":"https://api.github.com/users/job/repos","events_url":"https://api.github.com/users/job/events{/privacy}","received_events_url":"https://api.github.com/users/job/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T22:10:41Z","updated_at":"2015-09-08T18:18:14Z","closed_at":"2015-09-05T10:10:14Z","body":"is it possible to (by default) sort the results in the search window or the info window when you click a node? For some PMs it might make sense to sort the search results on name, or on in-degree, right now it is all random it seems. I'd prefer by default an alpabetic/numeric sort on the name of the node"},"comment":{"url":"https://api.github.com/repos/anvaka/pm/issues/comments/138655368","html_url":"https://github.com/anvaka/pm/issues/7#issuecomment-138655368","issue_url":"https://api.github.com/repos/anvaka/pm/issues/7","id":138655368,"user":{"login":"anvaka","id":225407,"avatar_url":"https://avatars.githubusercontent.com/u/225407?v=3","gravatar_id":"","url":"https://api.github.com/users/anvaka","html_url":"https://github.com/anvaka","followers_url":"https://api.github.com/users/anvaka/followers","following_url":"https://api.github.com/users/anvaka/following{/other_user}","gists_url":"https://api.github.com/users/anvaka/gists{/gist_id}","starred_url":"https://api.github.com/users/anvaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anvaka/subscriptions","organizations_url":"https://api.github.com/users/anvaka/orgs","repos_url":"https://api.github.com/users/anvaka/repos","events_url":"https://api.github.com/users/anvaka/events{/privacy}","received_events_url":"https://api.github.com/users/anvaka/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T18:18:14Z","updated_at":"2015-09-08T18:18:14Z","body":"I see a lot of value in this, but it comes at cost of `O(n * lg n)` on each keystroke. \r\n\r\nI'll add sorting as well, and will let users opt in for it. E.g. window title could provide a combobox which allows users to select by name, by in-degree or out-degree."}}