Vectors in R (part 8) - sorting and measuring vector length