performance improvement for sorted-numbers?