Until gurus’ replies, let me put my two cents… Often, the simplest methods are the most reliable ones. How about combining the array into a temporary variable, then sort it by the *item* (formerly *key*) you want, then construct the tBuf? ~ Ender Nafi