sorted the faces