Jane Street interview question

Coding was super easy so not really sure why I failed lol it was a simple sort algorithm leetcode easy style