HSBC interview question

How to sort a list without using a second variable or using any of the in built functions