Quantiphi interview question

explain sorting techniques with time complexity?