I have a simple collection of documents in my backbone app. This collection has a view that contains all the documents and they should be grouped by the month they were created in.
This view has to update in real-time - when I create a new document or modify an existing one, it should be added/moved to correct place in the view.
What would be the best way to achieve this?