Usually it's the order in which the features (records) are returned by the database. And that's either the order in which they're stored or in which they're ordered by an SQL query (SELECT * FROM bla ORDER BY something). So yes, it might be out of FME's control.
If you run the workpace with 2015 and 2016 right after eachother, do you see different results?
The order of reader could be controlled previous to FME 2016 (is the order in which the readers appear in the Navigation window), but not the order of the feature types.
This has changed in FME 2016.1.
The order of reading feature type can be controlled in that version too (see the recorded webinar).
Usually it's the order in which the features (records) are returned by the database. And that's either the order in which they're stored or in which they're ordered by an SQL query (SELECT * FROM bla ORDER BY something). So yes, it might be out of FME's control.
If you run the workpace with 2015 and 2016 right after eachother, do you see different results?
Without an ORDER BY databases are free to return rows in any order, with no guarantee of the same ordering even for back-to-back invocations of the same query. (In practice you'll usually get a predictable order, just don't count on it.)
Either writing custom SQL with an ORDER BY or adding a Sorter transformer could give the needed stability.
The order of reader could be controlled previous to FME 2016 (is the order in which the readers appear in the Navigation window), but not the order of the feature types.
This has changed in FME 2016.1.
The order of reading feature type can be controlled in that version too (see the recorded webinar).
Sorry, I did not read as well as I should.
The order of features read depend on the SQL statement.
If you want change that you can add the ORDER BY clause in the WHERE Clause parameter of the reader or the feature type.
Alternatively you could use the SQLCreator as a reader and create your specific SQL statement.
Thank you all for your answers.
redgeographics: Yes I see a difference when i run a workspace with 2015 and 2016. So maybe the reader use a different SQL query to retrieve features, because my database use its indexes to return rows so the order do not change if there is no modification, moreover running my script with 2015 give me the same result everytime.
Anyway I still have to order features myself if I want a script which create the same result on all FME versions.