Thanks for all the help. Finally got it sorted.

Now have to figure out how to deal with the sort when two or more boxes hold the same values.