Specify how a display should be sorted

sort_spec(name, dir = "asc")

Arguments

name

variable name to sort on

dir

direction to sort ('asc' or 'desc')