The direction of a dipole, it is again a convention such that dipole vector (when considered as a single entity) will always tend to align towards the direction of electric field and not away from it when left in an arbitrary position in the field. It is easy to see so as the torque on the dipole due to an external electric field is given by p×E. Not all people follow the same standards, however.