Table Sorting

unlisted

by kraibse

This plugin allows you to sort tables by clicking on the respective table head.

ā˜… 94 starsUpdated 1mo agoMIT
View on GitHub

Obsidian Table Sorting Plugin

This essential plugin will finally allow you to organize your tables non-destructively right within Obsidian. Sorting by multiple columns is supported!

✨ Features

Whatever sort mode you choose, the markdown sourcecode will not be touched. Instead the sorting all happens visually. Rightly restore the original order by cycling through the modes.

Sort by a single column

https://github.com/kraibse/obsidian-table-sorting/assets/33869366/f2d53d9e-267d-483e-9ab5-9edb7687b3c1

Right click to open the context and tool menu.

... or by multiple columns simultaneously

https://github.com/kraibse/obsidian-table-sorting/assets/33869366/28468e05-9ea3-46a5-9ce1-82927031b499

Select multiple columns to set their order when sorting hierarchically.

... and be able to reset them to their original state

https://github.com/kraibse/obsidian-table-sorting/assets/33869366/e46b9a2e-8a22-4906-af33-4048b63a9e92

It's as easy as picking the reset option in the dropdown.


šŸ’” Usage

  1. From the latest releases download the necessary files main.ts, styles.css and manifest.json
  2. Create a folder in to your vault VaultFolder/.obsidian/plugins/obsidian-table-sorting/.
  3. Move the main.ts, styles.css and manifest.json to the directory you just created.
  4. Create a table in your Obsidian note.
  5. Right-click a column to open the context menu.
    • Sorting columns A-Z/Z-A
    • De/Selecting files for multi column sorting
    • Resetting to the original order

Limitations

  • Numeric data must be properly formatted for accurate sorting (WIP)
  • Dataview tables are currently not supported (WIP)
  • Currently limited to the Live Preview edit mode
    • Preview mode is currently in development
    • Source edit mode is currently not planned

Contributing

If you encounter any issues or have suggestions for future improvements, please don't hesitate to open an issue on the Github repository. Contributions are also welcome!

License

This project is licensed under the MIT License.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.