Use vector sortBy