Use id instead of created to order video actions

Since id is an auto-increment column, this should have the same
results but much quicker since it's indexed.

This should speed up the user profile page.
Speedup for adding cached_video_url attribute

The new code is more straightforward and also faster than the old
code.

This should speedup the user dashboard page, the team tasks page, and
the team dashboard page.