The projective invariants of ordered points on the line