how to sort array with x-for in template? #3465
Unanswered
atulmahankal
asked this question in
1. Help
Replies: 1 comment
-
The same way you do in JS. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
code:
Result:
Required:
for assending
for desending
How can I do that?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions