Skip to content
Astera Technology

Keep display sorting separate from a stored manual order

Specify whether a sort changes presentation or the underlying sequence.

Compare the rule with concrete cases

Fictional manual sequence is T3,T1,T2. The owner permits an alphabetical view, T1,T2,T3, but opening that view must not save a reordered sequence. A separate explicit reorder action may change the stored sequence. Reading and editing therefore have different effects.

Filled synthetic modelling cases
ActionDisplayed orderStored order afterEffect
Open manual viewT3,T1,T2T3,T1,T2Read only
Open alphabetical viewT1,T2,T3T3,T1,T2Presentation only
Explicitly save reorder T2,T3,T1T2,T3,T1T2,T3,T1Stored sequence changed
Download editable CSV ↓

Work through the distinction

A requirement saying only “sort the records” cannot establish which of these operations is intended. Name the saved effect so a browsing action cannot silently become an edit.

After opening the alphabetical view, what should reopening the manual view show?

Show the worked answer

T3,T1,T2. No explicit reorder was saved, so the original sequence remains.

Acceptance wording to adapt

A display-sort action must not alter stored_sequence. Opening alphabetical view and then manual view must restore display of the unchanged manual order. Change stored_sequence only through the explicit reorder action.

Related resources