fix for Issue #271

...on submit

selectedOptions list was populated by iterating over the model, every
element in the model that is in the getSelected() list is added to the
selectedOptions list - but in the order as defined by the model,  not
the ordering of getSelected(). Fixed this by adding elements to the
selectedOptions list in ordering defined by getSelected()