Benn-x
Benn-x

Reputation: 37

how to sort alphanumerical list with javascript

I'm a beginner on JavaScript and I would ask your help for a problem:

In fact, I want to display equipments name by their number, but before the number I have alphabetical letter, for example:

meh10; meh120; meh20; meh614; switch12; switch130; switch20;...

I don't know how to sort it alphanumerically.

Upvotes: 0

Views: 55

Answers (1)

user1094553
user1094553

Reputation: 806

I recommend this jquery plugin: http://tinysort.sjeiti.com/

Upvotes: 1

Related Questions