Changed ordering to reflect the selected position.