RIA Advisory interview question

Write out the code for any sort algorithm of your choice.