title: Order a data frame using character and numeric columns
body: <p>I have a dataframe:</p>
  
  <pre><code> df &lt;- data.frame(c(name = "FORT DUNCAN", "DETAR HOSPITAL", "CYPRESS FAIRBANKS","MISSION REGIONAL", "Test"), rate = c(8.0,8.7,8.7,8.1,8.9))
  colnames(df) = c("name","rate")
  ordered_df &lt;- df[order(df[,2]),]
  
                 name rate
  1       FORT DUNCAN  8.0
  4  MISSION REGIONAL  8.1
  2    DETAR HOSPITAL  8.7
  3 CYPRESS FAIRBANKS  8.7
  5              Test  8.9
  </code></pre>
  
  <p>I can clearly order the dataframe by the rate variable. However, If two rates are similar then I want to order by name. i.e. Detar Hospital and Cypress Fairbanks have the same rate of 8.7. Therefore, I want Cypress Fairbanks to move up and Detar Hospital to move down and Test should remain at its place (The last place according to the rate)...
  Any ideas???</p>
  
  <p>Cheers</p>