Video sorting Program