Can anybody tell me how to fix this error? Thanks, Tom > array_down = sort(sort_array,decreasing = 1) Error in sort(sort_array, decreasing = 1) : 'decreasing' must be a length-1 logical vector. -- View this message in context: http://www.nabble.com/Decreasing-Sort-Error-Message-tp25841678p25841678.html Sent from the R help mailing list archive at Nabble.com.