--- title: "Column Operations" description: "Column Operations: Fields, Sort & Filter" --- ## Fields Click `Fields` to control the visibility of a field. By default, all system fields will be hid. However, you can tick `Show system fields` to make them visible. image ### Re-order Columns Column positions can be re-ordered. Open `Fields` menu, and re-order fields as needed by dragging and dropping the `drag icon`. image ### Hide / Unhide Columns To hide / un-hide columns, open Fields menu, click on associated toggle button to hide / un-hide. :::tip You can create different grid views with different fields shown in each view. ::: image ## Sort Sorting allows you to order contents alphabetically (A → Z) / (Z → A) (OR) in ascending / descending order. NocoDB allows nested sorting. You can choose column fields & order in which to apply nested sorting. Lookup, Formula, Nested Data are also supported in Sorting. ### Add / Edit sort - Click on `Sort` button in the toolbar menu - Select `Field` to sort by ![sort](https://github.com/nocodb/nocodb/assets/86527202/5665b5db-7d66-4d17-8307-4a8bf32360c8) - Configure sort `direction` ![sort direction](https://github.com/nocodb/nocodb/assets/86527202/56a6d29b-de43-4aaf-b77e-41f32bb58f93) - Multiple fields can be configured for subsequent level sorting ![sort nested](https://github.com/nocodb/nocodb/assets/86527202/4e9393d7-953c-4a3f-bb4e-3b0161042ae4) Note: Field configured on the top will be used for first level sorting, followed by subsequent fields in top-down order ### Delete sort - Click on `Sort` button in the toolbar - Click on the bin icon to the right of the sort you wish to delete ![sort delete](https://github.com/nocodb/nocodb/assets/86527202/d469110b-12b2-4b8a-83ee-fe8819da2dc1) ## Filter Filters allow you to restrict / organize your data on the view as per your needs. NocoDB allows nested filters. You can choose multiple columns and conditions to apply filter. Between filters, you can opt for either `and` or `or` mode operation. Lookup, Formula, Nested Data are also supported in Filtering. ### Add / Edit filter Click on `Filter` button in the toolbar, select either `Add filter` or `Add filter group` ![filter add](https://github.com/nocodb/nocodb/assets/86527202/f312d8e5-98f1-4e34-ad82-460bb5eacef3) Configure filter : `Column` `Operation` and `Value` (if applicable) ![filter level-1](https://github.com/nocodb/nocodb/assets/86527202/62ac5ea5-64c7-4ab4-93bc-c2897e1a9122) Multiple filter conditions can be combined by using either `and` or `or` mode of operation ![filter nested](https://github.com/nocodb/nocodb/assets/86527202/1e9af5bf-c19f-49ed-8fc4-a62093f6ee01) ### Delete filter To delete a filter, click on the bin icon to the right of the associated filter ![filter delete](https://github.com/nocodb/nocodb/assets/86527202/c8f5abac-a550-4152-ab51-5f0765cd188b) ### Grouped filters You can also group several filters together using Filter Group. ![filter grouped](https://github.com/nocodb/nocodb/assets/86527202/582c29de-28cd-4414-b7db-4b1b1eea131e) ## Enable NULL and EMPTY Filters NULL filters (`is null` & `is not null`) and EMPTY filters (`is empty` & `is not empty`) are hidden by default. If you wish to filter out either one only, you may enable `Show NULL and EMPTY Filter` in Project Settings. ![project settings](https://github.com/nocodb/nocodb/assets/86527202/49d40f16-f8bd-4925-a4d0-65efb2d8f73e) ![filters show null empty](https://github.com/nocodb/nocodb/assets/86527202/a383f5e8-f2b9-461b-b725-9b172ac9975b) Otherwise, we can use Blank filters to filter out cells with NULL values and EMPTY values. ### Supported Filters Currently, we support different types of filters for corresponding columns. Please refer the below matrix for details. ## Group by Group-by allows one to visually categorise records on grid into specific `Groups` & `Sub groups`. NocoDB allows three levels of record seggregation. ![group by](https://github.com/nocodb/nocodb/assets/86527202/d4bfcdee-85ed-4c98-92ac-12055f9715e4) ### Add / Edit group-by - Click on `Group By` in the toolbar - Choose field for the records to be grouped by - Optionally- you can also sort groups, in either ascending or descending way. - Add sub-groups of upto 3 levels ### Delete group-by - Click on `Group By` in the toolbar - Click on the bin icon to the right of the group you wish to delete Note: To disable `Group by` & return back to standard spreadsheet grid view - you need to remove all the groups configured. ## Row Height NocoDB allows you to change height of records displayed on spreadsheet grid to 4 different levels `Short` (default), `Medium`, `Tall`, and `Extra`. This allows you to bring more content per cell to be displayed, useful when working with lengthy text columns and multi select fields. ![Row height](https://github.com/nocodb/nocodb/assets/86527202/6f49e7b4-a3de-4325-a11e-3ffc670ddd2e)