Brief description:
Use JavaScript to sort a set of numbers. There is no direct number comparison function to call in js, so I wrote a quick sort
Knowledge points:
1. Regular expression to extract the string of positive and negative numbers
2. Convert str to number and put it back into the list
3. Declaration and definition of js object Sort class
4. Sort class constructor and member function definition Method (prototype)
5. Quick sort algorithm
Code: