descending order for device positions