Appends an object to the specified list. If the appended object is temporary, the component gets the name el. If the first argument is not a list, it will be changed to a list with itself as first component.
mknn gives an array containing the indices of the k nearest neighbors of each element in matrix y with respect to x. The parameter y is optional, if it is not given, x will be taken for y. As a measure of distance the squared euclidean distance is used.
sort sorts the rows of a matrix. If column c1 is specified the matrix will be sorted with respect to column c1. That is, the rows of the matrix will be arranged in order that elements of column c1 are in ascending (descending) order.