refactored Quarter.comparison()