goran.terzic@gmail.com writes:
I got list of members in order of creation.
I tried same thing on another server, and I got members ordered alphabetically.
What do you mean by "alphabetically"? "Alphabetically on display name" is a plausible interpretation, but in fact Mailman 3 orders alphabetically on email address.
Any ideas what might be causing this behavior?
Ordering of the result set is done by the DBMS backend, so the problem is either that the ORM code (SQLAlchemy) is not communicating the request to the DBMS, or the DBMS is buggy. That is, .find_members is implemented in models/subscription.py, where it requests the backend to order by list-id, email address, and user role in that order of precedence. Do you have the same version of the same DBMS backend in both? Same version of SQLAlchemy?
Steve