fix for Issue #271, user defined ordering of selected options is lost upon 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()