theblob wrote:
I am wondering why the sort order is changing anyway?
Because by definition relations (tables) are unordered sets of rows. Since they aren't required to, almost no RDBMS that I know of makes any guarantee about the ordering of rows returned to an unordered query, even sequential calls of the same query.
Quote:
It's kind of non-deterministic.
It's probably deterministic on some level, but not one readily visible to you or me.
As a side note, I've also used "order-by" to great effect. Quite handy. I have never used "sort", however. Just seems easier to let the database do the work whenever possible.