I decided to get shuffled values from array. for that i used this function, i got it from net, it works fine. But i don\'t know, how it\'s works...
any one can help me t
array.sort() has an optional parameter that is a sorting function, you can pass a function reference to change the order of the array.
Maybe this page can be helpful http://www.javascriptkit.com/javatutors/arraysort.shtml