ConductorOne interview question

Sort and mathematical programming problem