# Filtering and sorting the job list

> Search the job list, pick a state or a code, filter any column through its funnel and sort on up to two columns — and what HiveBoard remembers.

Source: https://hiveboard.dev/docs/jobs/filter-and-sort · Section: The job list · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- Press / to search: every word you type must appear somewhere in the job's row, server and code included.
- The state chips, the code button and the funnel in each column header filter the list; each filter in force shows in the line above the table.
- Click a column heading to sort, again to reverse, a third time to stop; click another heading and the earlier one becomes the tiebreak.
- Sorting and filtering cover every matching job, even when the table draws only the first 400.

Everything that can hide a job is in the filter bar and the column headers, and every filter in force is written in the line above the table. Search with <kbd>/</kbd>, choose a state or a code in the bar, filter any column through the funnel in its header, and click a heading to sort. Sorting and filtering always cover every matching job, not only the rows on screen.

## Search

Press <kbd>/</kbd> on any page (when you are not typing in a box) to go to the Jobs page with the cursor in the search box, marked **Search jobs, users, paths…**. Connections is the exception: there <kbd>/</kbd> finds a server.

Each word you type must appear somewhere in what the row shows: the job number, the user, the job's name, its folder, the partition, the state (the scheduler's word or HiveBoard's), the server's name, and the code and kind. The words may come in any order, so `ember vasp relax` finds `pt111-co-relax` running VASP on Ember.

The search applies as you type. To remove it, empty the box or press the × beside it in the line above the table.

## The state: All, Running, Waiting, Finished

| Chip | Lists |
|---|---|
| **All** | running and waiting jobs, then your finished ones |
| **Running** | jobs that are running |
| **Waiting** | jobs the scheduler has not started yet |
| **Finished** | your jobs that ended, however they ended |

A fresh install opens on **All**. Finished jobs come from the window chosen beside the chips — see [Finished jobs](/docs/jobs/finished-jobs).

The chips and the **State** column's funnel are one filter reached two ways. Tick states in the funnel and the chips follow; when the ticks are a mix no chip can express, a chip **Custom (n)** appears — click it to go back to **All**.

## The code

**Any code** opens the codes found among the listed jobs, grouped by family, each with a count and a tick box. Jobs without a tag are listed under *Other* as "Not looked at yet, or someone else's", and folders HiveBoard did not recognise as "Not recognised". **All codes** opens every code HiveBoard knows. Once you narrow it, the button names the code you picked, or says how many. See [Code tags and calculation kinds](/docs/jobs/code-and-kind).

## Column filters

Every column header has a funnel. It opens a small panel that filters that column, with the column's sort buttons at the top. The list changes as you type or tick; **Done**, <kbd>Esc</kbd> or a click outside closes the panel, and **Clear filter** removes that column's filter.

| Column | How it filters |
|---|---|
| **State**, **Partition** | a tick list of the values present |
| **Job**, **Name / directory**, **Node list** | text: contains, does not contain, is exactly, starts with, matches regex |
| **Runtime** | a number of minutes |
| **CPUs**, **Nodes** | a number |
| **Start**, **Submitted** | a date, such as 2026-08-01 |

Numbers and dates take =, ≠, >, ≥, <, ≤ or *between*. A tick list has its own search box and **(Select all)**; while you search, that box reads **(Only these n)** and ticks just the results. The funnels on **User** and **Code** open the same choices as the bar's whose and code buttons.

A filtered column's funnel is highlighted, and the filter is written in the line above the table — for example "Runtime > 600 min" — with an × to remove it. **Clear filters** in that line removes every column filter and the search at once.

> [!TIP]
> "Runtime > 600" lists jobs that have run for more than ten hours: runtime filters are typed in minutes.

## Sorting

Click a column heading to sort by it:

1. The first click sorts in the column's natural direction: names and other text from A to Z; numbers, times and job numbers largest or newest first.
2. A second click reverses the order.
3. A third click removes the sort.

Click a different heading and it becomes the main sort, while the one before becomes the tiebreak — so clicking **Runtime** and then **User** lists the jobs user by user, the longest first within each. Two columns at most; a small 1 and 2 beside the arrows say which is which. The sort buttons in a column's funnel panel do the same: **A → Z** and **Z → A** (or **Smallest first** and **Largest first**), and × to take the column out of the sort.

With no sort chosen the list is newest first. A job with no value in the sorted column — no runtime yet, say — goes to the end in both directions. **Start** sorts by what its cell shows: the end time for a finished job, the estimated start for a waiting one.

## The 400-row limit

The table draws at most 400 rows, so a wide history window stays quick to scroll. When there are more, a note above the table says so:

```text
Showing the first 400 of 1200, ordered by ...
```

Sorting and filtering cover all of them, so the longest, newest or largest jobs are always among the rows drawn. Search, filter a column or narrow the history window to see the rest.

## What HiveBoard remembers

From one session to the next, on this computer, HiveBoard keeps the state filter, the code filter, every column filter, the sort, the history window and which servers are shown. It does not keep the search text, and it opens on **Mine** each time whatever person you chose last (see [Whose jobs are listed](/docs/jobs/whose-jobs)).

## On a phone

On a narrow screen each job is a card and there is no header row, so two controls take its place at the end of the filter bar:

- a sort list, which starts at **Newest first** and offers every column both ways, such as "Runtime — largest first";
- **Filters**, which lists the columns and opens the same filter panel for the one you pick. **Filters (2)** means two column filters are set, not counting the state and the code.

## When nothing matches

If the filters leave nothing, the table says **No job matches these filters**, with **Clear filters**. The line above it still lists every filter in force, so you can remove just one.

## Check yourself

1. You click the Runtime heading three times. What happens?
   - Longest first, then shortest first, then the sort is removed ← the answer
   - The list is sorted by three columns
   - A filter on Runtime opens
   Why: The first click sorts in the column's natural direction (largest first for times), the second reverses it, the third removes it.

2. The table shows the first 400 of 1,200 jobs, sorted by Runtime. Is the longest-running job on screen?
   - Yes — the sort covers every matching job before the 400 are drawn ← the answer
   - Only if it happens to be among the first 400 read
   - No — sorting works on the rows drawn
   Why: Sorting and filtering run over every matching job; only the drawing stops at 400 rows, so the extremes are always on screen.

## Try it in the app

- Press / and type a server name and a code, for example ember vasp. Read the line above the table.
- Click **Runtime**, then **User**, and look for the small 1 and 2 beside the two headings.
- Open the funnel on **State**, untick one state, and watch the chips in the filter bar change to **Custom**.

## Related

- [The Jobs page](https://hiveboard.dev/docs/jobs/jobs-page.md)
- [Whose jobs are listed](https://hiveboard.dev/docs/jobs/whose-jobs.md)
- [Code tags and calculation kinds](https://hiveboard.dev/docs/jobs/code-and-kind.md)
- [Finished jobs and the history window](https://hiveboard.dev/docs/jobs/finished-jobs.md)
- [Keyboard shortcuts](https://hiveboard.dev/docs/settings/keyboard-shortcuts.md)
