JAVA or JAVA SCRIPT OR Idoc SCRIPT alphabetical sort

Posted by tito86 on Stack Overflow See other posts from Stack Overflow or by tito86
Published on 2010-05-14T12:21:19Z Indexed on 2010/05/14 12:24 UTC
Read the original article Hit count: 252

Filed under:
|
|
|
|

Hi folks, I have a task:

All items within categories should be sorted alphabetically except for Examples. Special characters and numbers should be displayed before letters.

I'm facing with a problem. Most of standart sort functions and plugins are being used the ASCII table. In this table the following symboles: ~,},{ etc. have the index more than letters,for example: Actual result of sorting is: 1 - #1 A T 2 - A T 3 - {C T

I need to get: 1 - #1 A T 2 - {C T 3 - A T

Plese give me your piece of advice or sny examples ASAP.

Best Regards.

© Stack Overflow or respective owner

Related posts about java

Related posts about JavaScript