ordering videos actions and correcting time count to seconds