sec binsort and radix sort initial inputarray first pass values for count rtoi count arrayindex positions for array end of pass array second pass values for count rtoi count arrayindex positions for array end of pass array figure an example showing function radix applied to the input of figure row shows the initial values within the input array row shows the values for array cnt after counting the number of records for each bin row shows the index values stored in array cnt for examplecnt[ is indicating no input values are in bin cnt[ is indicating that array positions and will hold the values for bin cnt[ is indicating that array position will hold the (singlevalue for bin cnt[ is indicating that array positions through will hold the four values for bin row shows the results of the first pass of the radix sort rows through show the equivalent steps for the second pass