Automatic sorting, after creating a new page/chapter
Describe the feature you'd like To save the last used sorting on a book, so when a new page/chapter is created, the page/chapter is inserted at the right place and not at the end of the list.
Describe the benefits this feature would bring to BookStack users No manual sorting after every new page/chapter.
Additional context Another idea is a global option you can choose, for the default sort and then a "custom sorting" option on a book/chapter, so a manual sorting is still possible. But that's maybe a lot more work.
I agree. An example from my usage is having a new page for each retrospection, with date as a page name. It would be useful to automatically sort these - eg. by date of creation.
I would really like to have the ability to order pages/books, as it would make finding specific pages much easier, paticularly on mobile, so you don't have to enlist your other hand to type out a search.
Maybe sorting options like Alphabetical, date accessed/created/edited, length. ect. I'm just a lowly soldering iron jockey, but I feel like this would be fairly simple to implement with low risk of bug introduction. I've seen several (MANY) requests for this, but I'd be willing to toss $10 in a bounty pool to have this implemented. (wait, can we start a bug/feature request bounty pool? I'm down.)
Also open in #180
I'm planning to use a shelf / book as a blog, so it'd be super cool if I could automatically have books and pages sort in reverse-chronological order automatically.
I'd also like this.
The granular sorting options are really good and I don't want this functionality to go away. I think it's a good default.
But there are some books where I want automatic sorting, and I want the chapters at the top. Currently I do the following steps every single time I create a new page, and it seems like something that I should be able to automate:
- Click Sort
- Click "Sort by name"
- Click "Show chapters first"
- Scroll right down to the bottom
- Click Save
If anyone is really desperate for this, I've written up a logical theme system customization that can achieve this: https://gist.github.com/ssddanbrown/78553a39d36187476283a00fd67ed3dc
@DanMundy This follows your defined logic.