finish sort3