move insert sort into input process but error, my god