refactored code. added comparators for sorting shows