corrects ordering on list in both examples