Sorts an array of numbers from smallest to largest, or puts an array of words in alphabetical order. The original array is not modified; a re-ordered array is returned. The count parameter states the number of elements to sort. For example, if there are 12 elements in an array and count</b
(byte[] list)
| 7430 | * @see PApplet#reverse(boolean[]) |
| 7431 | */ |
| 7432 | static public byte[] sort(byte[] list) { |
| 7433 | return sort(list, list.length); |
| 7434 | } |
| 7435 | |
| 7436 | /** |
| 7437 | * @param count number of elements to sort, starting from 0 |