正序
time1 = details.objects.all().order_by('time')
倒序
time2 = details.objects.all().order_by('-time')