Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix support string, chinese sort #3602

Merged
merged 2 commits into from
Jan 26, 2018
Merged

fix support string, chinese sort #3602

merged 2 commits into from
Jan 26, 2018

Conversation

JoosAI
Copy link
Contributor

@JoosAI JoosAI commented Jan 22, 2018

test code

 var users = [
        {'name': '孤',py:'gu'},
        {'name': '帆',py:'fan'},
        {'name': '远',py:'yuan'},
        {'name': '影',py:'ying'},
        {'name': '碧',py:'bi'},
        {'name': '空',py:'kong'},
        {'name': '尽',py:'jin'},
    ];
    var orderedPY = _.orderBy(users,['py'],['asc']);
    var orderedCn = _.orderBy(users,['name'],['asc']);    
    console.log(orderedPY);
    console.log(orderedCn);

@lock
Copy link

lock bot commented Jan 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants