Is there a way to identify the objects with more than certain lines or sort objects by lines count?

Is there a way to identify the objects with more than certain lines or sort objects by lines count or characters count?

  Discussion posts and replies are publicly visible