adding vector sort example