{"action":"created","issue":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/1503","labels_url":"https://api.github.com/repos/handsontable/handsontable/issues/1503/labels{/name}","comments_url":"https://api.github.com/repos/handsontable/handsontable/issues/1503/comments","events_url":"https://api.github.com/repos/handsontable/handsontable/issues/1503/events","html_url":"https://github.com/handsontable/handsontable/issues/1503","id":34478698,"number":1503,"title":"Undo-Redo don't work after sorting a column","user":{"login":"lkoeller","id":7725258,"avatar_url":"https://avatars.githubusercontent.com/u/7725258?v=3","gravatar_id":"","url":"https://api.github.com/users/lkoeller","html_url":"https://github.com/lkoeller","followers_url":"https://api.github.com/users/lkoeller/followers","following_url":"https://api.github.com/users/lkoeller/following{/other_user}","gists_url":"https://api.github.com/users/lkoeller/gists{/gist_id}","starred_url":"https://api.github.com/users/lkoeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkoeller/subscriptions","organizations_url":"https://api.github.com/users/lkoeller/orgs","repos_url":"https://api.github.com/users/lkoeller/repos","events_url":"https://api.github.com/users/lkoeller/events{/privacy}","received_events_url":"https://api.github.com/users/lkoeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-28T15:41:48Z","updated_at":"2015-03-12T12:47:10Z","closed_at":null,"body":"Problem found on v 0.10.5\r\nSee jsfidlle : http://jsfiddle.net/Mm4Eu/2/\r\n\r\nSteps to reproduce : \r\n1) change Nissan by Renault\r\n\tKia\tRenault\tToyota\tHonda\r\n2008\t10\t11\t12\t13\r\n2009\t20\t11\t14\t13\r\n2010\t30\t15\t12\t13\r\n\r\n2) sort column A in descending order (so Renault is now on row 4)\r\n2010\t30\t15\t12\t13\r\n2009\t20\t11\t14\t13\r\n2008\t10\t11\t12\t13\r\n\tKia\tRenault\tToyota\tHonda\r\n\r\n3) Undo\r\n2010\t30\tNissan\t12\t13\r\n2009\t20\t11\t14\t13\r\n2008\t10\t11\t12\t13\r\n\tKia\tRenault\tToyota\tHonda\r\n\r\nUndo does not work in this use case\r\n\r\nAfter first investigation, this issue is because you store logical row in changes list.\r\nI think you must store physical row in changes list in order undo-redo could work with sorted column.\r\n\r\nI will try to propose a patch.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/comments/78472894","html_url":"https://github.com/handsontable/handsontable/issues/1503#issuecomment-78472894","issue_url":"https://api.github.com/repos/handsontable/handsontable/issues/1503","id":78472894,"user":{"login":"AMBudnik","id":10757813,"avatar_url":"https://avatars.githubusercontent.com/u/10757813?v=3","gravatar_id":"","url":"https://api.github.com/users/AMBudnik","html_url":"https://github.com/AMBudnik","followers_url":"https://api.github.com/users/AMBudnik/followers","following_url":"https://api.github.com/users/AMBudnik/following{/other_user}","gists_url":"https://api.github.com/users/AMBudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/AMBudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMBudnik/subscriptions","organizations_url":"https://api.github.com/users/AMBudnik/orgs","repos_url":"https://api.github.com/users/AMBudnik/repos","events_url":"https://api.github.com/users/AMBudnik/events{/privacy}","received_events_url":"https://api.github.com/users/AMBudnik/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T12:47:10Z","updated_at":"2015-03-12T12:47:10Z","body":"I guess it could be related to #2250"}}