{"action":"closed","issue":{"url":"https://api.github.com/repos/awalker89/openxlsx/issues/50","labels_url":"https://api.github.com/repos/awalker89/openxlsx/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/awalker89/openxlsx/issues/50/comments","events_url":"https://api.github.com/repos/awalker89/openxlsx/issues/50/events","html_url":"https://github.com/awalker89/openxlsx/issues/50","id":55008138,"number":50,"title":"Worksheet order incorrect after writing","user":{"login":"itssimon","id":1176585,"avatar_url":"https://avatars.githubusercontent.com/u/1176585?v=3","gravatar_id":"","url":"https://api.github.com/users/itssimon","html_url":"https://github.com/itssimon","followers_url":"https://api.github.com/users/itssimon/followers","following_url":"https://api.github.com/users/itssimon/following{/other_user}","gists_url":"https://api.github.com/users/itssimon/gists{/gist_id}","starred_url":"https://api.github.com/users/itssimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itssimon/subscriptions","organizations_url":"https://api.github.com/users/itssimon/orgs","repos_url":"https://api.github.com/users/itssimon/repos","events_url":"https://api.github.com/users/itssimon/events{/privacy}","received_events_url":"https://api.github.com/users/itssimon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"awalker89","id":7400673,"avatar_url":"https://avatars.githubusercontent.com/u/7400673?v=3","gravatar_id":"","url":"https://api.github.com/users/awalker89","html_url":"https://github.com/awalker89","followers_url":"https://api.github.com/users/awalker89/followers","following_url":"https://api.github.com/users/awalker89/following{/other_user}","gists_url":"https://api.github.com/users/awalker89/gists{/gist_id}","starred_url":"https://api.github.com/users/awalker89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awalker89/subscriptions","organizations_url":"https://api.github.com/users/awalker89/orgs","repos_url":"https://api.github.com/users/awalker89/repos","events_url":"https://api.github.com/users/awalker89/events{/privacy}","received_events_url":"https://api.github.com/users/awalker89/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-21T11:41:00Z","updated_at":"2015-01-28T08:46:38Z","closed_at":"2015-01-28T08:46:38Z","body":"When opening an existing workbook, adding sheets to it and saving it, the sheets are not necessarily being added after the last existing sheet (intended), but after the first existing sheet. When calling worksheetOrder(wb) it does spit out the intended order, but writes it differently anyway.\r\n\r\nBtw.: Thank you so much for your effort! I've posted a few issues now and I'm really glad that you're fixing them in almost no time! Keep up the good work!"}}