Layering and ordering vectors in computing