fixed the ordering of the list