Added functionality to re-sort resources of an OM XML question and some
UI improvements