Getting incorrect output

can you please check what is wrong with my code ? and is this randomized quick sort or it is something else ?

@chitranshanmol07


corrected and commented
its normal quick sort not randomised