Inbuilt sort problem

sir, in bubble sort algorithm can we use bool function as well like in this video
a[j+1]>a[j]=== this is comaparing part in bubble sort can we skipped it and bool function put krde as mention in this video tohh kya hmme usse call bhi krna hga kya bool function ko is video mein call nhhi kiya gya h fir bhii print ho gya??

Join this meet I will explain you

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.