Logo

Programming-Idioms

History of Idiom 28 > diff from v90 to v91

Edit summary for version 91 by programming-idioms.org:
Fix dartpad demo link

Version 90

2023-10-31, 21:23:47

Version 91

2023-10-31, 21:23:48

Idiom #28 Sort by a property

Sort the elements of the list (or array-like collection) items in ascending order of x.p, where p is a field of the type Item of the objects in items.

Idiom #28 Sort by a property

Sort the elements of the list (or array-like collection) items in ascending order of x.p, where p is a field of the type Item of the objects in items.

Variables
items,p
Variables
items,p