added error state for when the offsets are not the same type as the sort operator