add ignore_unmapped to sort syntax to prevent crashes