while I write code with this example for reference, I think I found bug about sorting.
I'm not sure it is bug or not but comparator under Todos collention is not working well.
(try [2,1,3,4,5] or descending order like 'comparator : function(item){return -item.get('order')} )
while I write code with this example for reference, I think I found bug about sorting. I'm not sure it is bug or not but comparator under Todos collention is not working well. (try [2,1,3,4,5] or descending order like 'comparator : function(item){return -item.get('order')} )
I think my code is one of solution