sorts added and SegmentControl simplified