BangMetric Services interview question

Explain your projects and a code for sorting with its time complexity and space complexity