Andrei Alexandrescu: > One possibility is a function sortedChain that takes two or > more sorted ranges and returns a lazy sorted range. -- Andrei Perhaps you are answering another thread and another problem. In this problem there is only one range. Bye, bearophile