In the distinct items example, only distinct rows are kept.
To keep all rows and sort them by type
in ascendant order, add the reserved iterator i
. Separate multiple iterators with a comma ,
.
Cars |
---|
Vehicles |
---|
{d[type , i ].brand}
{d[type+1, i+1].brand}
Tesla
Toyota
Airbus
Boeing