Sorted parser productions