{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/10225","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/10225/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/10225/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/10225/events","html_url":"https://github.com/emberjs/ember.js/issues/10225","id":54444770,"number":10225,"title":"Sortable Mixin assuming arrangedContent is always sorted","user":{"login":"Vincz","id":400525,"avatar_url":"https://avatars.githubusercontent.com/u/400525?v=3","gravatar_id":"","url":"https://api.github.com/users/Vincz","html_url":"https://github.com/Vincz","followers_url":"https://api.github.com/users/Vincz/followers","following_url":"https://api.github.com/users/Vincz/following{/other_user}","gists_url":"https://api.github.com/users/Vincz/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincz/subscriptions","organizations_url":"https://api.github.com/users/Vincz/orgs","repos_url":"https://api.github.com/users/Vincz/repos","events_url":"https://api.github.com/users/Vincz/events{/privacy}","received_events_url":"https://api.github.com/users/Vincz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T12:39:49Z","updated_at":"2015-07-11T06:31:37Z","closed_at":"2015-07-11T06:31:37Z","body":"The Sortable Mixin assume that the arrangedContent array is always sorted.\r\nThis leads to invalid ordered results if the sortProperties are modified in bulk (using beginPropertyChanges / endPropertyChanges).\r\n\r\nAll the performed sort operations are using comparaisons between an item and the item on the left and on the right. This is invalid if the underlying data have already been updated.\r\n\r\nHere is a jsbin illustrating the problem. Click on the \"reorder\" link multiple times and check the console to see the problem.\r\n\r\nhttp://emberjs.jsbin.com/ciparonami/1/edit"}}