When I create a MultiSelectSegmentedControl using Storyboard from Xcode (4.6.2) the segments of the MultiSelectSegmentedControl won't be sorted (or can't be).
The initial origin x values from sortedSegments array are either 0 or -1. My assumption is that the segmented control created with Storyboard is handled on a different way from xib files.
My current workaround is to sort the segmentsArray again when the valueChanged method is called for the first time. At this time the origin x values are different from 0 or -1 and can be sorted as intended.