avoid copies on phrase sort