Flutter Firebase Collection Sorting... Think I'm Only A Step Away [closed]

Solution 1:

To sort the list view, add an order-by clause here:

...
child: StreamBuilder(
  stream: golfCartCollection.orderBy('lastName').snapshots(),
  ...