Changed sort back so components are labelled 1,2,3,etc