Data sorting based on several conditions with string variable and execution of loop

I tried this code but it produces zero; file:///C:/Users/Md.%20Shahin/AppData/Local/Temp/RtmpULjApz/file2b88736c8b6_reprex.html

The code has come through as a path to a html file on your C Drive