Создаем маппер:
countries_mapper = assign_mapper(ctx, countries, sbemodel.countries_table)
--------------------
self.m_Domain = model.countries
--------------------
self.m_Domain.order_by(asc(self.m_Domain.c[self.m_SessionMNG.GetSortfield()]))
<type ‘exceptions.AttributeError’>: type object ‘countries’ has no attribute ‘order_by’
Наверняка я чего то не знаю. :(