{"action":"opened","issue":{"url":"https://api.github.com/repos/KevinJump/uSync/issues/31","repository_url":"https://api.github.com/repos/KevinJump/uSync","labels_url":"https://api.github.com/repos/KevinJump/uSync/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/KevinJump/uSync/issues/31/comments","events_url":"https://api.github.com/repos/KevinJump/uSync/issues/31/events","html_url":"https://github.com/KevinJump/uSync/issues/31","id":140975453,"number":31,"title":"Doctype Changes incorrectly fire when compositions order has changed.","user":{"login":"KevinJump","id":431231,"avatar_url":"https://avatars.githubusercontent.com/u/431231?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinJump","html_url":"https://github.com/KevinJump","followers_url":"https://api.github.com/users/KevinJump/followers","following_url":"https://api.github.com/users/KevinJump/following{/other_user}","gists_url":"https://api.github.com/users/KevinJump/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinJump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinJump/subscriptions","organizations_url":"https://api.github.com/users/KevinJump/orgs","repos_url":"https://api.github.com/users/KevinJump/repos","events_url":"https://api.github.com/users/KevinJump/events{/privacy}","received_events_url":"https://api.github.com/users/KevinJump/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KevinJump/uSync/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"KevinJump","id":431231,"avatar_url":"https://avatars.githubusercontent.com/u/431231?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinJump","html_url":"https://github.com/KevinJump","followers_url":"https://api.github.com/users/KevinJump/followers","following_url":"https://api.github.com/users/KevinJump/following{/other_user}","gists_url":"https://api.github.com/users/KevinJump/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinJump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinJump/subscriptions","organizations_url":"https://api.github.com/users/KevinJump/orgs","repos_url":"https://api.github.com/users/KevinJump/repos","events_url":"https://api.github.com/users/KevinJump/events{/privacy}","received_events_url":"https://api.github.com/users/KevinJump/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/KevinJump/uSync/milestones/5","html_url":"https://github.com/KevinJump/uSync/milestones/5.4%20-%20Config%20Enhancements","labels_url":"https://api.github.com/repos/KevinJump/uSync/milestones/5/labels","id":1636150,"number":5,"title":"5.4 - Config Enhancements","description":null,"creator":{"login":"KevinJump","id":431231,"avatar_url":"https://avatars.githubusercontent.com/u/431231?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinJump","html_url":"https://github.com/KevinJump","followers_url":"https://api.github.com/users/KevinJump/followers","following_url":"https://api.github.com/users/KevinJump/following{/other_user}","gists_url":"https://api.github.com/users/KevinJump/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinJump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinJump/subscriptions","organizations_url":"https://api.github.com/users/KevinJump/orgs","repos_url":"https://api.github.com/users/KevinJump/repos","events_url":"https://api.github.com/users/KevinJump/events{/privacy}","received_events_url":"https://api.github.com/users/KevinJump/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2016-03-10T09:50:02Z","updated_at":"2016-03-15T13:42:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-15T13:42:02Z","updated_at":"2016-03-15T13:42:02Z","closed_at":null,"body":"The order in which compositions are written out to the xml are inconsistent, and this can cause unnecessary change detection when running usync. \r\n\r\nif you have two or more compositions in a doctype they will be written out to the xml on export \r\n\r\n```\r\n<Compositions>\r\n <Composition Key=\"3ebac230-ef1f-4f00-8c5b-9958a90b923f\">sEOData</Composition>\r\n <Composition Key=\"3936644d-a5b2-4d1e-b70c-df4613bac6d2\">pageVisability</Composition>\r\n</Compositions>\r\n```\r\n\r\nhowever the order is dependent on internal umbraco factors, so on a compare the order might be reveresed, this causes the file to be diffrent and usync to fire a change. in the dashboard you get an apparent change of composistion\r\n\r\n![image](https://cloud.githubusercontent.com/assets/431231/13779579/976d2f82-eab3-11e5-91db-0a489cbd65bd.png)\r\n\r\n**This is not critical as the sync will work, but its confusing and should be fixed**"}}