Hello @dinusc
Of course I make mistake in my quasi formulas.
During the application startup I caching the contents of the SQL table in the collection using the function:
ClearCollect(
collectionName;
SortByColumns(
sqlTableName;
"columnA"; SortOrder.Ascending;
"columnB"; SortOrder.Ascending;
"columnC"; SortOrder.Ascending;
"columnD"; SortOrder.Ascending;
"columnE"; SortOrder.Ascending;
"columnF"; SortOrder.Ascending;
"columnID"; SortOrder.Ascending
)
)
Later, depending on the context, I filter this collection using the fliter function.
Filter(
collectionName;
columnD = x
)
My question is:
Will I be 100% sure of order filtered elements of collection if I sort (in deterministic way) elements of collection when I create?
The sort function is fully deterministic because the last criterion is the columnID (primary key) in the SQL table.
Regards,
MarcelLee