Order ancestors by lft to get logical sorting (in stead of random)

More sorting could be done in other methods. I have no time right now to patch. May be later :-)