Added function returning sorted field list in SEQ/CHOICE types