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
I'm currently displaying multiple properties on my list (name, value), and I need it to be sorted by value.
But the default option is sorting the list by name. How can I change that?
I've tried something like the code below on destinationChange this.available.list.sort((n1, n2) => n1._id - n2._id);
But I can't get direct access to the properties of the object.
The text was updated successfully, but these errors were encountered:
I'm currently displaying multiple properties on my list (name, value), and I need it to be sorted by value.
But the default option is sorting the list by name. How can I change that?
I've tried something like the code below on destinationChange
this.available.list.sort((n1, n2) => n1._id - n2._id);
But I can't get direct access to the properties of the object.
The text was updated successfully, but these errors were encountered: