def _get_default_order(self):
        if self.column_default_sort:
            if isinstance(self.column_default_sort, tuple):
                return self.column_default_sort
            else:
                return self.column_default_sort, False

        return None

    # Database-related API
Return default sort order
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView._get_default_order