native int list sort+dedup