using sortable_tree gem.