• If the vector contains carbon and hydrogen, the result is c("C", "H", others).

  • If the vector contains carbon but not hydrogen, the result is c("C", others).

  • If the formula contains neither carbon nor hydrogen, the result is c(others). In any case, others is sorted alphabetically.

hill_order(el)

Arguments

f

Character vector to be sorted.

Value

A character vector sorted in Hill order.