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
Current behavior
Array is not sorted when looking like this:
[
{arrayOfStrings: ['a', 'b']},
{arrayOfStrings: ['b']},
{arrayOfStrings: ['b', 'c']}
]
and used as | sortBy : [arrayOfStrings]
Expected behavior
It should sort similarly to array of numbers which does work. (which sorts by first element in array thx to javascript)
[ x ] bug report
[ ] feature request
Current behavior
Array is not sorted when looking like this:
[
{arrayOfStrings: ['a', 'b']},
{arrayOfStrings: ['b']},
{arrayOfStrings: ['b', 'c']}
]
and used as | sortBy : [arrayOfStrings]
Expected behavior
It should sort similarly to array of numbers which does work. (which sorts by first element in array thx to javascript)
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-ivy-v3ptad
Please tell us about your environment:
Win10, web browsers Firefox/Chrome
Angular version: 8.2.3
Node (for AoT issues):
node --version
= 12.14.1The text was updated successfully, but these errors were encountered: