DEV Community

Bishal Shrestha
Bishal Shrestha

Posted on • Updated on

How to sort this list of strings along with the strings and output the result as expected?

When the input is:


Expected output should be:


There are specific Unicode characters (\u003e, \u003c, \u0026) that were being sorted and replaced in a specific way. How to create a solution that could handle these Unicode characters dynamically without explicitly checking for each one individually. By identifying the…

Top comments (0)