Added sorting by timestamp for SensorDataProcessor