in src/pages/Home/Home.utils.ts [202:212]
export function sortRuns(runs: Run[], order: string): Run[] {
const [dir, key] = parseOrderParam(order);
if (key === 'ts_epoch' || key === 'duration' || key === 'finished_at') {
return runs.sort(nmbSort(dir, key));
} else if (key === 'user' || key === 'status' || key === 'flow_id' || key === 'run') {
return runs.sort(strSort(dir, key));
}
return runs;
}