[FONT=Verdana]
I can’t sort objects…
none of them work… am trying to sort by id… no matter what method I use, the objects are not sorted… what am I missing…
thank you…
[/FONT]
[FONT=Verdana]
I can’t sort objects…
none of them work… am trying to sort by id… no matter what method I use, the objects are not sorted… what am I missing…
thank you…
[/FONT]
Your object contains a property called h_id, you’re currently sorting by id which will parse to NaN resulting in a false return. Simply change a.id and b.id to a.h_id and b.h_id and it should work.
[FONT=Verdana]
oh my gosh… I don’t believe this…
thank you very much…
[/FONT]