added isleaf docs
added docs for order-by