{"action":"opened","issue":{"url":"https://api.github.com/repos/sprity/sprity-sass/issues/7","labels_url":"https://api.github.com/repos/sprity/sprity-sass/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/sprity/sprity-sass/issues/7/comments","events_url":"https://api.github.com/repos/sprity/sprity-sass/issues/7/events","html_url":"https://github.com/sprity/sprity-sass/issues/7","id":109339473,"number":7,"title":"Layouts sort order changes irregularly","user":{"login":"LarsFe","id":7568852,"avatar_url":"https://avatars.githubusercontent.com/u/7568852?v=3","gravatar_id":"","url":"https://api.github.com/users/LarsFe","html_url":"https://github.com/LarsFe","followers_url":"https://api.github.com/users/LarsFe/followers","following_url":"https://api.github.com/users/LarsFe/following{/other_user}","gists_url":"https://api.github.com/users/LarsFe/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsFe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsFe/subscriptions","organizations_url":"https://api.github.com/users/LarsFe/orgs","repos_url":"https://api.github.com/users/LarsFe/repos","events_url":"https://api.github.com/users/LarsFe/events{/privacy}","received_events_url":"https://api.github.com/users/LarsFe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-01T16:48:07Z","updated_at":"2015-10-01T16:48:07Z","closed_at":null,"body":"Hey there,\r\nseems like I found a bug for my use case. When I generate multiple sprites with the option 'split: true' the objects inside the layouts array change their position irregularly. This leads to different hash values at the end of my concatenated stylesheets, although there were no changes in the single image files.\r\n\r\nHere's an image where I ran the command 'gulp sprites --dev' twice in a immediately after each other.\r\n\r\n![sprity-sass-layout-sort](https://cloud.githubusercontent.com/assets/7568852/10226994/3bc0fddc-686b-11e5-99d5-736217871e92.jpg)\r\n\r\nI'll add a sort method for the layouts, create a PR and you can have a look at it. This should be a good adjustment to avoid other users to run into the same problem.\r\n\r\nGreetings,\r\nLars\r\n\r\n"}}