Examples of sorting Factors in R