def order_tables_from_mysql(db=None, user=None, password=None, dbname=None):
 order_tool = OrderTablesFromMySQL(db=db, user=user, password=password, dbname=dbname)
 return order_tool.order_tables()

def order_tables_from_mysql ( db = None , user = None , password = None , dbname = None ) : order_tool = OrderTablesFromMySQL ( db = db , user = user , password = password , dbname = dbname ) return order_tool . order_tables ( )
sorts tables in constraint order .