{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1403","labels_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1403/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1403/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1403/events","html_url":"https://github.com/mapbox/mapbox-studio/issues/1403","id":94117342,"number":1403,"title":"UI / yml ordering mismatch for newly-added source layers","user":{"login":"ajashton","id":126952,"avatar_url":"https://avatars.githubusercontent.com/u/126952?v=3","gravatar_id":"","url":"https://api.github.com/users/ajashton","html_url":"https://github.com/ajashton","followers_url":"https://api.github.com/users/ajashton/followers","following_url":"https://api.github.com/users/ajashton/following{/other_user}","gists_url":"https://api.github.com/users/ajashton/gists{/gist_id}","starred_url":"https://api.github.com/users/ajashton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajashton/subscriptions","organizations_url":"https://api.github.com/users/ajashton/orgs","repos_url":"https://api.github.com/users/ajashton/repos","events_url":"https://api.github.com/users/ajashton/events{/privacy}","received_events_url":"https://api.github.com/users/ajashton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T18:19:36Z","updated_at":"2015-07-09T18:19:36Z","closed_at":null,"body":"Using latest `mb-pages` in source mode\r\n\r\n1. Add a new layer & save it. It appears at the top of the layers list in the UI.\r\n2. If you look at the yml/xml at this point, the new layer will be the first in the layers list, ie the bottom of the stack.\r\n3. Refresh / restart Studio and the new layer is now at the bottom of the layers list in the UI."}}