ServiceNow interview question

Basic sorting algorithms.