Accenture interview question

Sorting using various methods