KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose I have an array var arr = [1,5,"ahsldk",10,55,3,2,7,8,1,2,75,"abc","huds"]; and I try sorting it, I get something like ... [1, 1, 10, 2, 2, 3, 5, 55, 7, 75, 8, "abc", "ahsldk", "huds"] notice 10 is before 2, how can I have something more like [1,1,2,2,3,5 ..., "abc", "ahs...",...]
Tags (comma-separated)
Save Edits
Cancel