Skip to main content
2 of 4
deleted 11 characters in body
Jonah
  • 33.8k
  • 4
  • 40
  • 94

#J, 26 bytes

((#~<:/"1),>{;~i.7)-./:~"1
  • ((#~<:/"1),>{;~i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

Jonah
  • 33.8k
  • 4
  • 40
  • 94