Professional > Interview scripting > Writing interview scripts > Sorting categorical response lists > Responses with fixed positions in the response list
 
Responses with fixed positions in the response list
If a response list contains responses such as “None of these” or any of the special responses NA, DK, REF, and Other Specify, they normally appear at the end of the list after the predefined responses, and you will probably want them to remain there even if the order of the predefined responses changes. To do this, append the fix keyword to the response’s definition in the metadata section, as follows:
Qname "Text" categorical [NumResps] {
  Sorted_responses,
  Fixed_response fix
}
Order_keyword;
In the following example, the list of tea types is displayed in a random order but with None of these always at the end of the list:
Groups "Which of these groups have you become more connected to
    through the Internet? (Please check all that apply)"
    categorical [1..]
{
Polical "People who share my political interests",
Hobbies "People who share my hobbies/recreational activities",
Religion "People who share my religion",
Profession "People in my profession",
Family "People in my family",
LifeSituations "People in similar life situations",
OtherGroups "Other groups" fix,
NoGroups "None" exclusive fix
} ran;
A response list may contain any number of fixed responses at any positions in the list. This means that you can, for example, always display a certain response at the top of the list if this is what you want. If the list contains a fixed response in the middle of the list, the other responses are reordered around the fixed response as appropriate. So, if the fixed response is the third in the list, it will remain there and other responses will be sorted around it according to the ordering keyword you have used.
See also
Sorting categorical response lists