The optimal sequenced route query