Electronic screening can have direct consequences for structural arrangements on the nanoscale, such as on the periodic ordering of adatoms on a surface. So far, such ordering phenomena have been explained in terms of isotropic screening of free electronlike systems. Here, we directly illustrate the structural consequences of anisotropic screening, making use of a highly anisotropic two-dimensional electron gas (2DEG) near the surface of black phosphorous. The presence of the 2DEG and its filling is controlled by adsorbed potassium atoms, which simultaneously serve to probe the electronic ordering. Using scanning tunneling microscopy, we show that the anisotropic screening leads to the formation of potassium chains with a well-defined orientation and spacing. We quantify the mean interaction potential utilizing statistical methods and find that the dimensionality and anisotropy of the screening is consistent with the presence of a band bending-induced 2DEG near the surface. The electronic dispersion of the 2DEG inferred by electronic ordering is consistent with that measured by angle-resolved photoemission spectroscopy.