Fix getLinked loop calls
Add ORDER_ASC and ORDER_DESC constant in db_table class
Fix orderd for mongo class