RBC interview question

Sorting List, performing oops concepts, sql joins