Logo

Programming-Idioms

History of Idiom 28 > diff from v86 to v87

Edit summary for version 87 by programming-idioms.org:
x is not a required identifier

Version 86

2022-08-19, 12:59:03

Version 87

2022-08-19, 12:59:24

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,x,p
Variables
items,p