Introduction - If you have any usage issues, please Google them yourself
A record is inserted into a sorted ordered table to obtain a new ordered table with a record number increase of 1. That is, the first first sequences of the sequence are considered as an ordered subsequence, and then inserted from the second records one by one until the entire sequence is ordered.
Main points: set up sentry as temporary storage and judgment of array boundaries.