Socotra interview question

How to sort data based on multiple critera

Interview Answer

Anonymous

5 May 2016

Create a data structure to capture the characteristics that are important and then create a compare function which can compare the data elements.