Flytxt interview question

Explain simplest sorting method and its algorithm complexity