John Deere Interview Question

Explain anyone sorting algorithm and tell its complexity?