void CheckSortingButton(ButtonView target) { if (target.Equals(startTimeButton)) { Sort_OnChange(SortType.StartTime, target); } if (target.Equals(registerDeadlineButton)) { Sort_OnChange(SortType.RegisterDeadline, target); } if (target.Equals(buyInButton)) { Sort_OnChange(SortType.BuyIn, target); } if (target.Equals(playersButton)) { Sort_OnChange(SortType.Players, target); } }