now sorting power values by time in python script