JPMorganChase interview question

Q: Please write a sorting algorithm and tell me the time complexity