how is the best approach to sort such a list by key?
list = [
{ name: ‘Brian Vaughn’, description: ‘Software engineer’ }
// And so on…
];
how is the best approach to sort such a list by key?
list = [
{ name: ‘Brian Vaughn’, description: ‘Software engineer’ }
// And so on…
];
You can use the sort method, like this: Try Haxe !
with possibly a better sort function
© 2018-2020 Haxe Foundation - Powered by Discourse