When a chunk's properties are changed, it might change the chunk's sort order in its parent. (For example, changing a chunk's similarity when the parent library is sorted according to similarity).
In practice this should be pretty rare but it's still a good idea to clean up that behavior.
The simplest thing is probably to remove the chunk and then reinsert itself when a property changes. With an optimization to only do that for specific sort types.
Noted while working on #61.
When a chunk's properties are changed, it might change the chunk's sort order in its parent. (For example, changing a chunk's similarity when the parent library is sorted according to
similarity
).In practice this should be pretty rare but it's still a good idea to clean up that behavior.
The simplest thing is probably to remove the chunk and then reinsert itself when a property changes. With an optimization to only do that for specific sort types.