What's the sum of heights of a random binary search tree?
By a random binary search tree, I mean the usual definition: you have $n$ keys to be inserted, and all Permutations are equally likely.
The sum of heights is the sum of the heights of each node. similar to Sum of heights in a complete binary tree (induction)
My attempt: I know that a random binary tree has height $O(\log n)$, so $h = K \log n$ and the sum is bounded from above by the sum of heights of a perfectly balanced binary tree of height $k\log n$. which is $2^{k\log n} -1 = n^k - 1$. This leads me nowhere.