Is it possible to sort a vector where the order for non-missing/non-NA values is maintained, but the NA's in the vector are sorted to the end?
For example could I turn this vector
vector<-c("Dog", "Cat", NA, "Tiger", NA, "Bear")
into this
vector<-c("Dog","Cat","Tiger","Bear", NA, NA)