Bounteous x Accolite interview question

Sort list of lists using recursion