>
> Hi Sander
>
Thanks again for the reply.

I am confident reverse is false:  I stepped through in the debugger , AND I 
added it as a variable to display on the page: it changes when I click to 
change the sort order. 
 
itemsPerPage is for pagination - so if set to 10, page 1 shows rows 1 - 10, 
page 2 has rows 11-20 etc....Whereas limitTo lets me restrict the 
processing in the UI to a maximum of 500 records / 50 pages  out of a total 
 figure which could have tens of thousands.   

The round brackets are a hangover from some previous code where it had 
helped _ I have removed them & lists of 120K are processing in the correct 
order in quite a reasonable amount of time.  Even a list of 300K is 
rendering OK, albeit slowly :)    ( I wont be using it lists that big - I 
was just wanting to push the envelope!!! ) 


Thanks for the pointer for LoDash & for taking the time to reply.  

 

-- 
This transmission is intended for the named addressee(s) only and may 
contain confidential, sensitive or personal information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify 
the sender immediately. All email traffic sent to or from us, including 
without limitation all GCSX traffic, may be subject to recording and/or 
monitoring in accordance with relevant legislation.

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to