locked
Arrange Japanese Words alphabetically using Javascript / JQuery RRS feed

  • Question

  • Hi All, 

    I have to create a webpart which will populate few Japanese words but in Alphabetical order but only using Javascript / JQuery. 

    Suggestions and help is highly appreciated.

    Example : Key , Value = 

    EAT : えあt

    SHOP : ショップ

    PLAY : 遊びます

    EXPLORE : 探ります

    Sorting should NOT be done on they Key basis. 

    Thanks


    Thanks, Ali Yasir http://www.sharepointstack.blogspot.in/

    Thursday, August 20, 2015 6:24 PM

Answers

  • Hi,

    Please try to use localeCompare to get it in alphabetical order.

    Here is a similar thread for your reference:

    http://stackoverflow.com/questions/20368315/javascript-sort-support-for-multilanguage

    As this question is not relate to SharePoint, I suggest you post it to a JavaScript development Forum, you will get more help and confirmed answers from there.

    Best Regards,

    Dennis


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Patrick_Liang Monday, August 31, 2015 2:10 AM
    • Marked as answer by AliYasir Monday, August 31, 2015 3:29 AM
    Friday, August 21, 2015 7:39 AM