Leetcode 2418. Sort the People | Hello Interview