DanWahlin / Angular-JumpStart

Angular and TypeScript JumpStart example application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sorting - minor deficiencies

caramorsimon opened this issue · comments

the data is being sorted by the values in the customers.json file, which contains both spaces & varying case in the data.

The presentation capitalises & trims much of the data, but the sort takes place on the underlying field, so it doesn't appear to sort correctly.

In addition, the properties in the state object don't appear to be able to sort the list at all.

At least its a working angular2-beta application with minimal dependencies though!

Thanks @caramorsimon. I've been meaning to fix the state sorting issue so you helped me speed that up. :-) I added spaces into the data without realizing it messed up the sort for city. But, I think I have all of that resolved now. Thanks for letting me know.