{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/calendar/issues/394","repository_url":"https://api.github.com/repos/owncloud/calendar","labels_url":"https://api.github.com/repos/owncloud/calendar/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/calendar/issues/394/comments","events_url":"https://api.github.com/repos/owncloud/calendar/issues/394/events","html_url":"https://github.com/owncloud/calendar/issues/394","id":144577250,"number":394,"title":"Sorting of calendars","user":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/calendar/labels/1%20-%20to%20develop","name":"1 - to develop","color":"bfe5bf"},{"url":"https://api.github.com/repos/owncloud/calendar/labels/design","name":"design","color":"cc317c"},{"url":"https://api.github.com/repos/owncloud/calendar/labels/enhancement-proposed","name":"enhancement-proposed","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-30T12:44:34Z","updated_at":"2016-04-30T01:09:49Z","closed_at":null,"body":"Currently calendars are sorted alphabetically (right?). This results in my »Events« calendar being sorted before by more important »Personal« calendar. Also, it is used as the default calendar in the new event dropdown which is not correct.\r\n\r\nHow about changing this to sorting the calendar by usage, that is amount of events in it? Would be a bit of guessing, but might fit better for many cases than alphabetical. Also we don’t need to bother with a »default calendar« setting that way.\r\n\r\nWhat do you think @georgehrke?"},"comment":{"url":"https://api.github.com/repos/owncloud/calendar/issues/comments/215919513","html_url":"https://github.com/owncloud/calendar/issues/394#issuecomment-215919513","issue_url":"https://api.github.com/repos/owncloud/calendar/issues/394","id":215919513,"user":{"login":"zeugmatis","id":2687584,"avatar_url":"https://avatars.githubusercontent.com/u/2687584?v=3","gravatar_id":"","url":"https://api.github.com/users/zeugmatis","html_url":"https://github.com/zeugmatis","followers_url":"https://api.github.com/users/zeugmatis/followers","following_url":"https://api.github.com/users/zeugmatis/following{/other_user}","gists_url":"https://api.github.com/users/zeugmatis/gists{/gist_id}","starred_url":"https://api.github.com/users/zeugmatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeugmatis/subscriptions","organizations_url":"https://api.github.com/users/zeugmatis/orgs","repos_url":"https://api.github.com/users/zeugmatis/repos","events_url":"https://api.github.com/users/zeugmatis/events{/privacy}","received_events_url":"https://api.github.com/users/zeugmatis/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T01:09:49Z","updated_at":"2016-04-30T01:09:49Z","body":"Currently they are listed in order added.  I would *really* like to see a simple alphabetical sort if possible - this way, we can have multiple calendars which are named by e.g. usernames, real names, or company names etc. and we have an intuitive way for anyone to quickly look them up.  If you want to make sure a calendar is listed at the top, just hack the calendar name.  A bit ugly but far less complicated.  Either that or maybe buttons like in the galleryplus app but really I think a simple alphabetical a-z sorted listing would help a whole lot.  "}}