added sort capability by date in time series collection and a time series example