The elements are ordered according to some key function which is defined by the user. Any subsequent calls to this function will cause the elements in HT to be deleted, and the number of buckets to be reset. The parameter must be a pointer to a function which accepts one parameter of type T and returns a bigint . HT is assigned a copy of HT2 . The output consists of each non-empty bucket being displayed element by element, one bucket per line.
Last entry is in the table.