ConductorOne Interview Question

Sort and mathematical programming problem