making jquery sort work with angular. Fixing bug where property display
value was not updating