{"action":"created","issue":{"url":"https://api.github.com/repos/dbushell/Nestable/issues/38","labels_url":"https://api.github.com/repos/dbushell/Nestable/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/dbushell/Nestable/issues/38/comments","events_url":"https://api.github.com/repos/dbushell/Nestable/issues/38/events","html_url":"https://github.com/dbushell/Nestable/issues/38","id":9750335,"number":38,"title":"Order of child elements","user":{"login":"siruscoder","id":2455246,"avatar_url":"https://avatars.githubusercontent.com/u/2455246?v=3","gravatar_id":"","url":"https://api.github.com/users/siruscoder","html_url":"https://github.com/siruscoder","followers_url":"https://api.github.com/users/siruscoder/followers","following_url":"https://api.github.com/users/siruscoder/following{/other_user}","gists_url":"https://api.github.com/users/siruscoder/gists{/gist_id}","starred_url":"https://api.github.com/users/siruscoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siruscoder/subscriptions","organizations_url":"https://api.github.com/users/siruscoder/orgs","repos_url":"https://api.github.com/users/siruscoder/repos","events_url":"https://api.github.com/users/siruscoder/events{/privacy}","received_events_url":"https://api.github.com/users/siruscoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-01-07T22:12:43Z","updated_at":"2015-02-24T17:56:35Z","closed_at":null,"body":"Hi, I am trying to figure out the order of the child elements after drag and drop action between siblings.\r\n\r\nroot\r\n  - ...\r\n  node\r\n    - a\r\n    - b\r\n\r\nif I move 'b' above 'a', but still under 'node', how can i figure out programatically that the order is now 'a', 'b'?\r\n\r\nIs serializing and comparing both the before and after graph the only way to figure this out?\r\nEdit: I should ask.. what is the most elegant way of figuring out the order of the child nodes\r\n\r\nSirus"},"comment":{"url":"https://api.github.com/repos/dbushell/Nestable/issues/comments/75809365","html_url":"https://github.com/dbushell/Nestable/issues/38#issuecomment-75809365","issue_url":"https://api.github.com/repos/dbushell/Nestable/issues/38","id":75809365,"user":{"login":"sekouzed","id":5007993,"avatar_url":"https://avatars.githubusercontent.com/u/5007993?v=3","gravatar_id":"","url":"https://api.github.com/users/sekouzed","html_url":"https://github.com/sekouzed","followers_url":"https://api.github.com/users/sekouzed/followers","following_url":"https://api.github.com/users/sekouzed/following{/other_user}","gists_url":"https://api.github.com/users/sekouzed/gists{/gist_id}","starred_url":"https://api.github.com/users/sekouzed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sekouzed/subscriptions","organizations_url":"https://api.github.com/users/sekouzed/orgs","repos_url":"https://api.github.com/users/sekouzed/repos","events_url":"https://api.github.com/users/sekouzed/events{/privacy}","received_events_url":"https://api.github.com/users/sekouzed/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T17:56:35Z","updated_at":"2015-02-24T17:56:35Z","body":" this link https://github.com/dbushell/Nestable/issues/101 can help you ? "}}