Hello,
There are many ranking factors for YouTube videos. You should always optimize your video's metadata with proper titles, tags etc. and try to make longer videos and number of shares of videos is also a ranking factor now.
You can look at this infographic for the better understanding of all the YouTube ranking factors and stats.
Hope this helps. Thank you.