Cache GetLowerBound in Array.Reverse and Array.Sort (#5019)
Cache GetLowerBound in Array.Reverse and Array.Sort (#5019)

- Avoids calling internal native method 4 times per sort: 2 times is
enough
- Avoids calling internal native method 2 times per reverse: 1 time is
enough
JonHanna/coreclr,josteink/coreclr,martinwoodward/coreclr,dpodder/coreclr,wtgodbe/coreclr,JonHanna/coreclr,krytarowski/coreclr,ragmani/coreclr,naamunds/coreclr,KrzysztofCwalina/coreclr,pgavlin/coreclr,Dmitry-Me/coreclr,gkhanna79/coreclr,LLITCHEV/coreclr,LLITCHEV/coreclr,naamunds/coreclr,naamunds/coreclr,yeaicc/coreclr,tijoytom/coreclr,LLITCHEV/coreclr,gkhanna79/coreclr,botaberg/coreclr,hseok-oh/coreclr,Dmitry-Me/coreclr,wateret/coreclr,James-Ko/coreclr,ruben-ayrapetyan/coreclr,shahid-pk/coreclr,JosephTremoulet/coreclr,rartemev/coreclr,cshung/coreclr,sjsinju/coreclr,krk/coreclr,mskvortsov/coreclr,James-Ko/coreclr,James-Ko/coreclr,dpodder/coreclr,alexperovich/coreclr,poizan42/coreclr,russellhadley/coreclr,mmitche/coreclr,jamesqo/coreclr,jhendrixMSFT/coreclr,dpodder/coreclr,qiudesong/coreclr,martinwoodward/coreclr,bartdesmet/coreclr,tijoytom/coreclr,martinwoodward/coreclr,vinnyrom/coreclr,botaberg/coreclr,cmckinsey/coreclr,rartemev/coreclr,vinnyrom/coreclr,mskvortsov/coreclr,krk/coreclr,roncain/coreclr,russellhadley/coreclr,AlexGhiondea/coreclr,tijoytom/coreclr,ZhichengZhu/coreclr,manu-silicon/coreclr,qiudesong/coreclr,cydhaselton/coreclr,sagood/coreclr,hseok-oh/coreclr,dpodder/coreclr,mmitche/coreclr,roncain/coreclr,cydhaselton/coreclr,parjong/coreclr,josteink/coreclr,Dmitry-Me/coreclr,vinnyrom/coreclr,schellap/coreclr,wateret/coreclr,dpodder/coreclr,ragmani/coreclr,krytarowski/coreclr,YongseopKim/coreclr,mmitche/coreclr,YongseopKim/coreclr,bartdesmet/coreclr,yeaicc/coreclr,cshung/coreclr,hseok-oh/coreclr,dasMulli/coreclr,martinwoodward/coreclr,martinwoodward/coreclr,botaberg/coreclr,bartdesmet/coreclr,naamunds/coreclr,josteink/coreclr,josteink/coreclr,ragmani/coreclr,wateret/coreclr,naamunds/coreclr,kyulee1/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,cydhaselton/coreclr,pgavlin/coreclr,tijoytom/coreclr,ramarag/coreclr,naamunds/coreclr,ramarag/coreclr,sjsinju/coreclr,vinnyrom/coreclr,krytarowski/coreclr,dasMulli/coreclr,wateret/coreclr,krk/coreclr,KrzysztofCwalina/coreclr,naamunds/coreclr,pgavlin/coreclr,schellap/coreclr,poizan42/coreclr,dasMulli/coreclr,parjong/coreclr,josteink/coreclr,cmckinsey/coreclr,sjsinju/coreclr,poizan42/coreclr,cshung/coreclr,ruben-ayrapetyan/coreclr,yeaicc/coreclr,schellap/coreclr,gkhanna79/coreclr,YongseopKim/coreclr,tijoytom/coreclr,hseok-oh/coreclr,krk/coreclr,jhendrixMSFT/coreclr,neurospeech/coreclr,KrzysztofCwalina/coreclr,vinnyrom/coreclr,JonHanna/coreclr,tijoytom/coreclr,parjong/coreclr,ramarag/coreclr,alexperovich/coreclr,shahid-pk/coreclr,dasMulli/coreclr,martinwoodward/coreclr,alexperovich/coreclr,dasMulli/coreclr,shahid-pk/coreclr,cshung/coreclr,mskvortsov/coreclr,KrzysztofCwalina/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,JonHanna/coreclr,dasMulli/coreclr,neurospeech/coreclr,roncain/coreclr,russellhadley/coreclr,Dmitry-Me/coreclr,jamesqo/coreclr,ragmani/coreclr,russellhadley/coreclr,AlexGhiondea/coreclr,sagood/coreclr,shahid-pk/coreclr,wtgodbe/coreclr,krk/coreclr,cydhaselton/coreclr,ramarag/coreclr,sagood/coreclr,parjong/coreclr,ZhichengZhu/coreclr,alexperovich/coreclr,dpodder/coreclr,Dmitry-Me/coreclr,schellap/coreclr,Dmitry-Me/coreclr,bartdesmet/coreclr,qiudesong/coreclr,LLITCHEV/coreclr,AlexGhiondea/coreclr,jhendrixMSFT/coreclr,jhendrixMSFT/coreclr,KrzysztofCwalina/coreclr,yeaicc/coreclr,ruben-ayrapetyan/coreclr,neurospeech/coreclr,alexperovich/coreclr,parjong/coreclr,ragmani/coreclr,manu-silicon/coreclr,yizhang82/coreclr,roncain/coreclr,yizhang82/coreclr,LLITCHEV/coreclr,kyulee1/coreclr,AlexGhiondea/coreclr,mmitche/coreclr,cmckinsey/coreclr,pgavlin/coreclr,pgavlin/coreclr,alexperovich/coreclr,manu-silicon/coreclr,KrzysztofCwalina/coreclr,kyulee1/coreclr,yeaicc/coreclr,ZhichengZhu/coreclr,josteink/coreclr,KrzysztofCwalina/coreclr,sagood/coreclr,yizhang82/coreclr,rartemev/coreclr,ramarag/coreclr,ZhichengZhu/coreclr,wtgodbe/coreclr,bartdesmet/coreclr,neurospeech/coreclr,russellhadley/coreclr,mskvortsov/coreclr,manu-silicon/coreclr,wateret/coreclr,manu-silicon/coreclr,neurospeech/coreclr,YongseopKim/coreclr,Dmitry-Me/coreclr,kyulee1/coreclr,shahid-pk/coreclr,jhendrixMSFT/coreclr,bartdesmet/coreclr,cmckinsey/coreclr,gkhanna79/coreclr,qiudesong/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,JosephTremoulet/coreclr,JosephTremoulet/coreclr,rartemev/coreclr,cmckinsey/coreclr,JonHanna/coreclr,qiudesong/coreclr,roncain/coreclr,JosephTremoulet/coreclr,botaberg/coreclr,cydhaselton/coreclr,AlexGhiondea/coreclr,parjong/coreclr,sagood/coreclr,jamesqo/coreclr,YongseopKim/coreclr,vinnyrom/coreclr,yizhang82/coreclr,krytarowski/coreclr,gkhanna79/coreclr,YongseopKim/coreclr,ragmani/coreclr,poizan42/coreclr,poizan42/coreclr,James-Ko/coreclr,josteink/coreclr,kyulee1/coreclr,gkhanna79/coreclr,wtgodbe/coreclr,vinnyrom/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,cydhaselton/coreclr,wateret/coreclr,schellap/coreclr,ruben-ayrapetyan/coreclr,LLITCHEV/coreclr,jamesqo/coreclr,ramarag/coreclr,mskvortsov/coreclr,krytarowski/coreclr,mskvortsov/coreclr,rartemev/coreclr,shahid-pk/coreclr,bartdesmet/coreclr,ZhichengZhu/coreclr,sjsinju/coreclr,yizhang82/coreclr,sagood/coreclr,schellap/coreclr,sjsinju/coreclr,sjsinju/coreclr,botaberg/coreclr,krytarowski/coreclr,cmckinsey/coreclr,shahid-pk/coreclr,mmitche/coreclr,roncain/coreclr,JonHanna/coreclr,dasMulli/coreclr,James-Ko/coreclr,hseok-oh/coreclr,pgavlin/coreclr,martinwoodward/coreclr,rartemev/coreclr,jamesqo/coreclr,krk/coreclr,schellap/coreclr,yizhang82/coreclr,cshung/coreclr,LLITCHEV/coreclr,ramarag/coreclr,jhendrixMSFT/coreclr,yeaicc/coreclr,cshung/coreclr,James-Ko/coreclr,ZhichengZhu/coreclr,qiudesong/coreclr,wtgodbe/coreclr,manu-silicon/coreclr,kyulee1/coreclr,manu-silicon/coreclr,jhendrixMSFT/coreclr,hseok-oh/coreclr,cmckinsey/coreclr,jamesqo/coreclr,roncain/coreclr,russellhadley/coreclr,neurospeech/coreclr,ZhichengZhu/coreclr,AlexGhiondea/coreclr,yeaicc/coreclr