the algorithm used in inbuilt sort is of merge sort? because while we are comparing the time btw bubble sort and merge sort …you are taking time calcualted by merge sort
About Inbuilt sort
it basically utilizes quick sort, merge sort, insertion sort to minimize the running time