ReliSource interview question

Basic Sorting, SQL joining, OOP