add an example or sorting a vector