Prudential interview question

Can you write code for quick sorting algorithm?