CMS-2165 Make InputOccurrenceView dragable
FormItemSetOccurrences.occurrenceViews had to be sorted according to new index too, otherwise InputOccurrences.getValues would not return the values in the new order.