Intelligent Optical Fiber Sorting Controller