Add IsSorted Method and ActionListeners