added sort by id to getVideos