Editorial question68.9K views4,180 votes0 answers4,199 following
AI-generatedEntityAdapter selectAll ordering stability when sortComparer omitted and sort-relevant properties updated
Goal Achieve predictable display order for entity lists derived from selectAll when entities are frequently updated on properties that should affect sort position. Constraints and uncertainty The EntityAdapter only reorders the internal ids array when a sortComparer is provided and an operation mutates that array (add, upsert, remove). An update() that chang