Add documentation about sort specification.