Instructions for this set
Use the filing lesson if you need help with primary and secondary keys. For every question, write the rule in a short note and keep the original records intact. Answer before reading the explanation.
These fictional exercises do not establish real records policy, an official timer or a passing score. Apply through the relevant hiring authority and follow its actual notice. A fixed practice result has no eligible-list or appointment effect.
Question 1: sort simple labels alphabetically
Rule: Compare letters from left to right, ignoring case. If one label ends after matching the beginning of another, place the shorter label first.
Labels: Brookside, Brook, Broome, Broom.
Order and explanation
Brook, Brookside, Broom, Broome. Brook and Brookside share Brook, so the shorter one comes first. Their k then precedes the m in Broom and Broome. Broom precedes Broome under the shorter-prefix rule. Compare the first difference rather than relying on overall visual similarity.
Question 2: apply a two-part name key
Rule: Sort by the explicitly identified surname, then given name, both alphabetically. Ignore case.
| Record | Surname | Given name |
|---|---|---|
| A | Lewis | Jordan |
| B | Levin | Riley |
| C | Lewis | Avery |
| D | Lane | Morgan |
Order and explanation
D, B, C, A. Lane precedes the Le names. Levin precedes Lewis because v precedes w after Le. Within Lewis, Avery precedes Jordan. Sorting by the first displayed full-name element without reading the named keys would produce a different and unsupported order.
Question 3: sort numbers by value
Rule: Sort the numeric quantities in ascending mathematical order; leading zeros do not change numeric value. Equal values remain tied.
Values: 18, 003, 42, 3, 105.
Order and explanation
003 and 3 are tied first, followed by 18, 42 and 105. The rule explicitly treats them as numbers and states that leading zeros do not change value. Their relative order cannot be resolved without an additional tie rule. This differs from exact identifier matching, where the character strings can be distinct.
Question 4: sort code strings as printed
Rule: Compare the following digit-only codes character by character in ordinary digit order. Do not convert them to numbers or add leading zeros.
Codes: 8, 32, 104, 29.
Order and explanation
104, 29, 32, 8. Their first characters are 1, 2, 3 and 8, which determine the order immediately. Numeric ascending order would be 8, 29, 32, 104, but that is not the comparison requested. Identify the data type before selecting a sorting method.
Question 5: apply a defined punctuation rule
Rule: Remove spaces and hyphens for comparison, ignore case, then sort alphabetically. A shorter matching prefix comes first. Do not remove other letters or words.
Labels: “Oak-Field”, “Oak View”, “Oak”, “Oakfield”.
Order and explanation
Oak comes first. Oak-Field and Oakfield become the same comparison key, oakfield, and remain tied. Oak View becomes oakview and follows them because f precedes v. The rule does not establish a unique order for the tied pair. Normalization can create a tie even when the printed labels differ.
Question 6: use all three keys in order
Rule: Sort by category alphabetically, then date earliest first, then reference number numerically ascending. All dates are in the same year.
| Record | Category | Date | Reference |
|---|---|---|---|
| A | Z | June 2 | 10 |
| B | Y | June 5 | 24 |
| C | Y | June 5 | 19 |
| D | Y | June 1 | 31 |
Order and explanation
D, C, B, A. All Y records precede Z. Within Y, June 1 precedes June 5. The two June 5 records are then ordered by reference 19 before 24. Reference 10 does not move Z ahead of Y because it is only the third key.
Question 7: detect a single misplaced record
Rule: Numeric ascending order.
Proposed sequence: 14, 27, 36, 52, 48, 65.
Question: What adjacent swap repairs the sequence?
Answer and explanation
Swap 52 and 48 to obtain 14, 27, 36, 48, 52, 65. Every neighboring pair is then ascending. Check the whole resulting sequence rather than assuming that correcting the first visible problem guarantees there are no others. Here the supplied values allow a complete verification.
Review the key that actually caused the error
If you selected the wrong first record, check the primary key before reviewing later details. If only tied records are reversed, inspect secondary keys and whether a unique tie rule exists. If numeric and textual methods were confused, restate the field type before calculating or comparing.
In your next session, change the labels and layout while retaining the same logical task. Then change one rule, such as numeric to character comparison, and explain why the order changes. Continue with clerical accuracy practice for record matching rather than ordering.
Candidate questions
How do I prepare for a filing test?
Practice identifying the primary key, comparison method and tie rule before ordering records. Explain the first meaningful difference between neighboring entries. Then mix rule types on fresh data so familiarity with one list does not drive the answer.
Should I ignore spaces and punctuation?
Only when the exercise or actual assessment says to do so. The examples define their own normalization rules. Do not assume a universal rule across systems, employers or examinations.
What happens if two records have identical keys?
They remain tied unless a later key or explicit tie rule resolves them. If the task requires a unique order without supplying one, identify the missing information rather than inventing a preference.
Is this the California Office Assistant test?
No. CalHR identifies sorting and filing in its official materials, but these are original learning questions. The actual bulletin and examination instructions determine its format, timing and scoring.
Official sources
- CalHR Office Assistant study guide: sorting and filing
- CalHR Office Assistant General current examination bulletin
Verified November 21, 2026. The current agency bulletin and your individual assessment instructions control.