John Deere interview question

Explain anyone sorting algorithm and tell its complexity?