Pergunta de entrevista da empresa Algolia

Remove duplicates in a JSON file and numerically sort the IDs inside it.