Hi Sergio, and thanks for the interest in JazzRecord!
This is a good idea, one supported in Rails' ActiveRecord as well.
Since it is something derived from ActiveRecord, I've tried to stick
with the naming convention, which is to simply call it "order". I've
added this as an optional property in Model declarations. See
example_models.js, example_fixtures.js, example_migrations.js in the
latest code in the 0.7 branch of the repo here:
http://github.com/thynctank/jazzrecord/tree/2bd4775be0d73578f9a684056644228e2c05aaf8/javascripts/examples
Note that this only works when querying the model directly.
Autoloading is something that needs to be looked at more closely. The
code that currently builds the queries for autoloading is somewhat
convoluted. It has some ideas to be used in async JazzRecord which may
or may not ever be used, so I may end up scrapping the current code
(yet again) and building something more sophisticated that can take
into account future ideas along the lines of this default order.
Hopefully I'll find time to do this over the weekend.
Again, thanks for the interest, thanks for the ideas (especially
thanks for actually looking over the source and taking the time to
understand it). Your English is fine!