This addresses an issue that exists today where the table is not sorted correctly. The following conditions must be met for this to occur:
The repeater uses track by $index
Chrome is the browser
There are more than 10 items in the array
The items should be sorted according to their index in the original array. However, that is not the case. Here is a plunk to reproduce the issue as well as the fix that I am submitting with this PR.
This addresses an issue that exists today where the table is not sorted correctly. The following conditions must be met for this to occur:
track by $index
The items should be sorted according to their index in the original array. However, that is not the case. Here is a plunk to reproduce the issue as well as the fix that I am submitting with this PR.
https://embed.plnkr.co/vnpmSm/
The fix I am proposing identifies the
track by $index
clause and sorts the data accordingly.