Fix spec for late night
Sort by record category instead of duration on time graph page