{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5867","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5867/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5867/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5867/events","html_url":"https://github.com/bitcoin/bitcoin/issues/5867","id":60217243,"number":5867,"title":"Bitcoin-QT Peer sort by Address/Hostname","user":{"login":"PRabahy","id":429961,"avatar_url":"https://avatars.githubusercontent.com/u/429961?v=3","gravatar_id":"","url":"https://api.github.com/users/PRabahy","html_url":"https://github.com/PRabahy","followers_url":"https://api.github.com/users/PRabahy/followers","following_url":"https://api.github.com/users/PRabahy/following{/other_user}","gists_url":"https://api.github.com/users/PRabahy/gists{/gist_id}","starred_url":"https://api.github.com/users/PRabahy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRabahy/subscriptions","organizations_url":"https://api.github.com/users/PRabahy/orgs","repos_url":"https://api.github.com/users/PRabahy/repos","events_url":"https://api.github.com/users/PRabahy/events{/privacy}","received_events_url":"https://api.github.com/users/PRabahy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/GUI","name":"GUI","color":"02d7e1"},{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Priority%20Low","name":"Priority Low","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-07T18:06:48Z","updated_at":"2015-03-11T16:37:29Z","closed_at":"2015-03-11T16:37:29Z","body":"Right now the if I click the Address/Hostname column, it sorts it in lexographic order instead of numeric order.\r\n\r\nFor example if I have 3 connections: 1.1.1.1, 2.2.2.2,100.100.100.100, right now it will sort them\r\n1.1.1.1\r\n100.100.100.100\r\n2.2.2.2\r\n\r\nI would like to see them sorted\r\n1.1.1.1\r\n2.2.2.2\r\n100.100.100.100"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/78301377","html_url":"https://github.com/bitcoin/bitcoin/issues/5867#issuecomment-78301377","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5867","id":78301377,"user":{"login":"laanwj","id":126646,"avatar_url":"https://avatars.githubusercontent.com/u/126646?v=3","gravatar_id":"","url":"https://api.github.com/users/laanwj","html_url":"https://github.com/laanwj","followers_url":"https://api.github.com/users/laanwj/followers","following_url":"https://api.github.com/users/laanwj/following{/other_user}","gists_url":"https://api.github.com/users/laanwj/gists{/gist_id}","starred_url":"https://api.github.com/users/laanwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laanwj/subscriptions","organizations_url":"https://api.github.com/users/laanwj/orgs","repos_url":"https://api.github.com/users/laanwj/repos","events_url":"https://api.github.com/users/laanwj/events{/privacy}","received_events_url":"https://api.github.com/users/laanwj/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T16:37:29Z","updated_at":"2015-03-11T16:37:29Z","body":"You could achieve lexicographic order by sorting by binary address instead of text. But as said, this is just a matter of preference. It's certainly not a bug. If you implement this we could compare the behavior in practice, but without code it doesn't make sense to have an issue open about this."}}