Skip to content

kraibse/obsidian-table-sorting

Repository files navigation

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.

Sorting by a single column

Left click on the column head.

Sorting by multiple columns simultaneously

Press Control while left-clicking.


💡 Usage

  1. Install the plugin by copying over the main.ts, styles.css and manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-table-sorting/.
  2. Create a table in your Obsidian note.
  3. Click on a column name to sort the rows accordingly.
  4. Click on the same column name again to toggle between ascending, descending and neutral order.
  5. Use Control + LMB to add an additional column to the sorting hierarchy.

Limitations

  • Numeric data must be properly formatted for accurate sorting.

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks