- 
    Sub-task 
- 
    Resolution: Duplicate
- 
    P3: Somewhat important 
- 
    None
- 
    None
Also investigate if the sorted container is required. Can we achieve the same result with std::vector, std::unique, std::sort pattern at the end? Benchmark analysis might be needed.