{"action":"created","issue":{"url":"https://api.github.com/repos/plepe/pgmapcss/issues/107","labels_url":"https://api.github.com/repos/plepe/pgmapcss/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/plepe/pgmapcss/issues/107/comments","events_url":"https://api.github.com/repos/plepe/pgmapcss/issues/107/events","html_url":"https://github.com/plepe/pgmapcss/issues/107","id":54362199,"number":107,"title":"Order objects during execution","user":{"login":"plepe","id":249012,"avatar_url":"https://avatars.githubusercontent.com/u/249012?v=3","gravatar_id":"","url":"https://api.github.com/users/plepe","html_url":"https://github.com/plepe","followers_url":"https://api.github.com/users/plepe/followers","following_url":"https://api.github.com/users/plepe/following{/other_user}","gists_url":"https://api.github.com/users/plepe/gists{/gist_id}","starred_url":"https://api.github.com/users/plepe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plepe/subscriptions","organizations_url":"https://api.github.com/users/plepe/orgs","repos_url":"https://api.github.com/users/plepe/repos","events_url":"https://api.github.com/users/plepe/events{/privacy}","received_events_url":"https://api.github.com/users/plepe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plepe/pgmapcss/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/plepe/pgmapcss/milestones/4","labels_url":"https://api.github.com/repos/plepe/pgmapcss/milestones/4/labels","id":916829,"number":4,"title":"Version 0.11","description":"","creator":{"login":"plepe","id":249012,"avatar_url":"https://avatars.githubusercontent.com/u/249012?v=3","gravatar_id":"","url":"https://api.github.com/users/plepe","html_url":"https://github.com/plepe","followers_url":"https://api.github.com/users/plepe/followers","following_url":"https://api.github.com/users/plepe/following{/other_user}","gists_url":"https://api.github.com/users/plepe/gists{/gist_id}","starred_url":"https://api.github.com/users/plepe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plepe/subscriptions","organizations_url":"https://api.github.com/users/plepe/orgs","repos_url":"https://api.github.com/users/plepe/repos","events_url":"https://api.github.com/users/plepe/events{/privacy}","received_events_url":"https://api.github.com/users/plepe/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":3,"state":"open","created_at":"2014-12-29T16:45:13Z","updated_at":"2015-01-15T07:07:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-14T19:06:00Z","updated_at":"2015-01-17T17:03:03Z","closed_at":null,"body":"Execution order of objects should be influenced by special pseudo tags. The order applies only for the given rule - subsequent rules may have different order.\r\n\r\nThe following pseudo classes will be implemented:\r\n* `:order-numerical()`\r\n* `:order-alphabetical()`\r\n* `:order-natural()`\r\n\r\nThe pseudo classes will take at least one, but up to three parameters:\r\n1. First parameter: the value by which will be ordered. Can be either a tag key or an eval expression.\r\n2. Second argument (optional): specify order direction, e.g. 'asc' or 'desc'. -> `:order-numerical(ele, desc)`.\r\n3. An optional third parameter defines the default value (if the first parameter evaluates to none) -> `:order-numerical(ele, desc, 0)`.\r\n\r\nThe idea for `:order-*` was first born in #77 ."},"comment":{"url":"https://api.github.com/repos/plepe/pgmapcss/issues/comments/70374394","html_url":"https://github.com/plepe/pgmapcss/issues/107#issuecomment-70374394","issue_url":"https://api.github.com/repos/plepe/pgmapcss/issues/107","id":70374394,"user":{"login":"plepe","id":249012,"avatar_url":"https://avatars.githubusercontent.com/u/249012?v=3","gravatar_id":"","url":"https://api.github.com/users/plepe","html_url":"https://github.com/plepe","followers_url":"https://api.github.com/users/plepe/followers","following_url":"https://api.github.com/users/plepe/following{/other_user}","gists_url":"https://api.github.com/users/plepe/gists{/gist_id}","starred_url":"https://api.github.com/users/plepe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plepe/subscriptions","organizations_url":"https://api.github.com/users/plepe/orgs","repos_url":"https://api.github.com/users/plepe/repos","events_url":"https://api.github.com/users/plepe/events{/privacy}","received_events_url":"https://api.github.com/users/plepe/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T17:03:03Z","updated_at":"2015-01-17T17:03:03Z","body":"Alternative:\r\n* `:order-numerical-asc()` and `:order-numerical-desc()` <- would be simpler to handle, as every parameter can be an eval function. Or, we rather need a single parameter, the \"default value\" can be emulated by using `:order-numerical-asc(any(tag(\"ele\"), 0))`."}}