Made the table's columns sortable

Every column's header is a button that sorts the table by it, and
clicking it again sorts the other way. A column starts with the most
useful first: titles A to Z, the latest dates and highest values, Yes
before No, hidden first, and marks in the menu's order. Statuses sort
in the filters' order rather than alphabetically, and titles by their
words and numbers, ignoring case and punctuation. Rows with no value in
the column (no date, no value, no marks) go last either way, and rows
that tie are newest release first.

The sort is remembered with the other preferences, and is newest
release first until another is chosen, as before. Sorting has moved
out of filterOpportunities, which now keeps the order it's given.
This commit is contained in:
bwilliams committed 2026-10-21 12:47:25 +01:00
1 parent c09c30ae71
commit 5c62376b6e
7 files changed
+417 -56

No files matched your search

+1
View File
@@ -24,4 +24,5 @@ export const STORAGE_KEYS = {
theme: 'job_search.theme',
filtersOpen: 'job_search.filtersOpen',
filters: 'job_search.filters',
sort: 'job_search.sort',
} as const;