topK of sorted matrix