This worked!! Thank you so much! This makes so much sense with the autovivication now. There WAS a gap in the array, so that's why it couldn't sort it. I know I do things differently than most people, but for me, readability and ease of use trump inefficiency any day. As long as the program runs without any wait periods, then it's ok with me.
in reply to Re: Sorting array, getting modification of read-only value error
in thread Sorting array, getting modification of read-only value error