#10061: Fix a false positive for Style/RedundantSort when using size method in the block. ([@koic][])