{"action":"created","issue":{"url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/31","labels_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/31/comments","events_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/31/events","html_url":"https://github.com/lazychaser/laravel-nestedset/issues/31","id":55077481,"number":31,"title":"Ordering the Descendant list","user":{"login":"noelwalsh","id":3070563,"avatar_url":"https://avatars.githubusercontent.com/u/3070563?v=3","gravatar_id":"","url":"https://api.github.com/users/noelwalsh","html_url":"https://github.com/noelwalsh","followers_url":"https://api.github.com/users/noelwalsh/followers","following_url":"https://api.github.com/users/noelwalsh/following{/other_user}","gists_url":"https://api.github.com/users/noelwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/noelwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noelwalsh/subscriptions","organizations_url":"https://api.github.com/users/noelwalsh/orgs","repos_url":"https://api.github.com/users/noelwalsh/repos","events_url":"https://api.github.com/users/noelwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/noelwalsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T21:10:25Z","updated_at":"2015-01-22T04:50:31Z","closed_at":null,"body":"Thanks for the package, it looks perfect for building a tree view in my app. \r\n\r\nThat said, when I reorder the nodes, using down() and up(), I can see they left and right values adjusting, but I can't find any way to read them back in the new order. Instead, they're always returned in the same order, which I guess is the original insertion order, even if I call the toTree method.\r\n\r\nIs there any method provided to do this sorting or is up to me to do it manually?\r\n\r\nN"},"comment":{"url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/comments/70971189","html_url":"https://github.com/lazychaser/laravel-nestedset/issues/31#issuecomment-70971189","issue_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/31","id":70971189,"user":{"login":"lazychaser","id":2094856,"avatar_url":"https://avatars.githubusercontent.com/u/2094856?v=3","gravatar_id":"","url":"https://api.github.com/users/lazychaser","html_url":"https://github.com/lazychaser","followers_url":"https://api.github.com/users/lazychaser/followers","following_url":"https://api.github.com/users/lazychaser/following{/other_user}","gists_url":"https://api.github.com/users/lazychaser/gists{/gist_id}","starred_url":"https://api.github.com/users/lazychaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazychaser/subscriptions","organizations_url":"https://api.github.com/users/lazychaser/orgs","repos_url":"https://api.github.com/users/lazychaser/repos","events_url":"https://api.github.com/users/lazychaser/events{/privacy}","received_events_url":"https://api.github.com/users/lazychaser/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T04:50:31Z","updated_at":"2015-01-22T04:50:31Z","body":"Hi!\r\n\r\nUse defaultOrder method on query builder to order by lft value.\r\n22 ñÎ× 2015 Ç. 0:10 ÐÏÌØÚÏ×ÁÔÅÌØ \"noelwalsh\" <notifications@github.com>\r\nÎÁÐÉÓÁÌ:\r\n\r\n> Thanks for the package, it looks perfrect for building a tree view in my\r\n> app.\r\n>\r\n> That said, when I reorder the nodes, using down() and up(), I can see they\r\n> left and right values adjusting, but I can't find any way to read them back\r\n> in the new order. Instead, they're always returned in the same order, which\r\n> I guess is the original insertion order, even if I call the toTree method.\r\n>\r\n> Is there any method provided to do this sorting or is up to me to do it\r\n> manually?\r\n>\r\n> N\r\n>\r\n> --\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/lazychaser/laravel-nestedset/issues/31>.\r\n>"}}