An Industry 4.0 approach to assembly line resequencing