in reply to sorting a list according to numeric values using the function splice()
What do you want to use splice() for? Do you have a specific algorithm for sorting in your mind?
You could use the following, trivial (and slow) algorithm that uses splice() to remove single elements from your array.
HTH, Rata (who hopes that you will not use the algorithm above when writing "real" code ;-)
|
|---|