adding sort 3