You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could an additional attribute be added to the sort() function of a modellist that allows us to specify if we want the list sorted in ascending order or descending? The three functions in question are :
sort -> _sort -> _compare
The text was updated successfully, but these errors were encountered:
To make this possible, ModelList needs to be changed so that is passes along the options from sort() to _sort(). Looking at the code, this should be straight forward using Y.rbind().
Could an additional attribute be added to the sort() function of a modellist that allows us to specify if we want the list sorted in ascending order or descending? The three functions in question are :
sort -> _sort -> _compare
The text was updated successfully, but these errors were encountered: