sort missing from median