select thread based on reply count