Skip to contents

Sort a vector by it's name

Usage

sort_names(x, numeric = FALSE)

Arguments

x

A named vector of values

numeric

If TRUE will try to coerce to numeric

Value

x sorted by its names()