Made UI respect order of attributes in config

I found that for my annotation project, annotators wanted to see the attribute options in a specific order (they were on a spectrum). This change wasn't a particularly drastic one, and it seemed like it might be useful to others, as well.