Infosys Interview Question

data structure - sorting about projects