"в ряд" doesn't imples that objects are facing the same direction.
it is about linear monotonic placement only.
however, it is used most often in meaning of "abreast". this is just because there are a little reasons for people to stay in one straight line and do not face the same direction.