{"action":"created","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1598","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1598/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1598/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1598/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1598","id":115192159,"number":1598,"title":"iOS : Contacts Sorting and \"blank first entry \"","user":{"login":"fleetsimple","id":14740030,"avatar_url":"https://avatars.githubusercontent.com/u/14740030?v=3","gravatar_id":"","url":"https://api.github.com/users/fleetsimple","html_url":"https://github.com/fleetsimple","followers_url":"https://api.github.com/users/fleetsimple/followers","following_url":"https://api.github.com/users/fleetsimple/following{/other_user}","gists_url":"https://api.github.com/users/fleetsimple/gists{/gist_id}","starred_url":"https://api.github.com/users/fleetsimple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleetsimple/subscriptions","organizations_url":"https://api.github.com/users/fleetsimple/orgs","repos_url":"https://api.github.com/users/fleetsimple/repos","events_url":"https://api.github.com/users/fleetsimple/events{/privacy}","received_events_url":"https://api.github.com/users/fleetsimple/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-05T01:54:53Z","updated_at":"2015-11-13T19:47:05Z","closed_at":null,"body":"\r\nKindly assist to Fix the following : \r\n====================================================================\r\n1.  Contacts is not auto-sort by displayname in iOS \r\n2.  Displays blank first entry in iOS\r\n\r\nThe above exists in Both (1) & (2)\r\n1. Display.getInstance().getAllContacts(true)\r\n2. Display.getInstance().getAllContacts(true, true, false, true, false, false)\r\nContacts are listed in list using ListRenderer\r\n====================================================================\r\nTo replace empty displayname with Phone Number in contactsmodel\r\n====================================================================\r\nIs it possible to set \r\nDisplay Name = Phone Number when displayname is empty in contactsModel \r\nor \r\nadd a new fields as Displaynamephone = phone number when display name is empty\r\n====================================================================\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/comments/156539423","html_url":"https://github.com/codenameone/CodenameOne/issues/1598#issuecomment-156539423","issue_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1598","id":156539423,"user":{"login":"chen-fishbein","id":1298420,"avatar_url":"https://avatars.githubusercontent.com/u/1298420?v=3","gravatar_id":"","url":"https://api.github.com/users/chen-fishbein","html_url":"https://github.com/chen-fishbein","followers_url":"https://api.github.com/users/chen-fishbein/followers","following_url":"https://api.github.com/users/chen-fishbein/following{/other_user}","gists_url":"https://api.github.com/users/chen-fishbein/gists{/gist_id}","starred_url":"https://api.github.com/users/chen-fishbein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chen-fishbein/subscriptions","organizations_url":"https://api.github.com/users/chen-fishbein/orgs","repos_url":"https://api.github.com/users/chen-fishbein/repos","events_url":"https://api.github.com/users/chen-fishbein/events{/privacy}","received_events_url":"https://api.github.com/users/chen-fishbein/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T19:47:05Z","updated_at":"2015-11-13T19:47:05Z","body":"Yes, on android they are sorted\n\nOn Fri, Nov 13, 2015 at 8:33 PM, codenameone <notifications@github.com>\nwrote:\n\n> I think @chen-fishbein <https://github.com/chen-fishbein> made Android\n> act that way but didn't document it.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/codenameone/CodenameOne/issues/1598#issuecomment-156511783>\n> .\n>\n"}}