The ArraySort Class contains the following methods:
compare compares two elements in the array using the Comparison object. sort sorts the specified Object array using a Comparison object. swap swaps two elements in the array.