Main class for sorting GUI