Roku interview question

How to sort using an arbitrary order