As title $a = Location::where('name', 'a')->firstOrFail(); $b= Location::where('name', 'b')->firstOrFail(); $a->insertAfter($b)->save(); Nodes are not moved. What am I getting wrong?