Add sort functionality for vector of type _i and _vi to jvsip