Arista Networks interview question

Something to do with sorting