def order_tables_from_databases(appdir_str=None):
 order_tool = OrderTablesFromDatabases(appdir_str)
 return order_tool.order_tables()

def order_tables_from_databases ( appdir_str = None ) : order_tool = OrderTablesFromDatabases ( appdir_str ) return order_tool . order_tables ( )
sorts tables in constraint order .