With the new direction of using a custom sort comparator, the thread 
description should really read something more like:

*"howto use orderBy custom sort when iterating over objects"*

Tobias, thanks for the feedback.  Indeed I cannot quite do as you suggest, 
as I'm iterating over a raw object{}, not an Array(), thus I can't sort the 
obj in advance.  I've also always been under the impression that we should 
never really rely on sorted objects, as they are unsorted by definition in 
the spec, and browsers are not required to maintain their order.

Rather, I need to sort the ?array generated by ng-repeat?, somehow, 
assuming ng-repeat generates one :) .

Also, i updated my sorter code:  http://jsfiddle.net/cdaringe/LfHPT/6/

Any other ideas (, all)?  I'm sure it's fairly simple I just need to find 
the correct wires to plug in!

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to