adding sort example