obsidian-sortable
obsidian-sortable copied to clipboard
Table sorting plugin for https://obsidian.md
Obsidian Sortable
Sortable is a plugin for Obsidian that aims to offer Wikipedia-like sortable tables. Sorting is done with respect to a table header, on click:
- first click: ascending order
- second click: descending order
- third click: default order
Features
Demo
https://user-images.githubusercontent.com/14110183/128138299-fd2a1bb2-6f87-4b50-b306-17550d8adc64.mov
- Sorting numerical and string data types. Custom comparator functions are part of the roadmap (see this issue).
- No altering of the markdown source code. Sorting is done by rearranging table rows (i.e.
tr
elements). - No dependencies.
Please note that the development is still in a beta stage. Check the project's roadmap for updates.
Installation
Search for "Sortable" in Obsidian's community plugins (Settings > Community plugins > Browse
), install, then enable.
Alternatively, you can download the required files from the latest
release,
move them to vault/.obsidian/plugins/obsidian-sortable
and enable "Sortable" from the "Community plugins" settings.
Disclaimer
I built Sortable mostly to fulfill my personal needs and I appreciate that now many people find it useful. However, given the plethora of plugins, themes and tweaks for Obsidian, numerous bugs may occur when using Sortable in various contexts. These may range from UI inconsistencies to inability to sort in certain states. While I try to address most of the issues, please understand that I cannot accommodate every request, mostly because I do not use many Obsidian plugins and quirks myself.
Thank you!