5 added 101 characters in body
source | link

Dyalog APL, 24 2121 19 bytes

{2⊥↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}¨↓2⊥⍣¯1⊢⎕

Try it online! (modified so TryAPL accepts it as valid)

How?

  • 2⊥⍣¯1⊢⍵ evaluated input (arrays are space separated)
  • 2⊥⍣¯1⊢ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • 2⊥ convert from binary (since it sort of transposes it, we arrive at the correct result)

Dyalog APL, 24 21 bytes

{2⊥↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • 2⊥ convert from binary (since it sort of transposes it, we arrive at the correct result)

Dyalog APL, 24 21 19 bytes

2⊥↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⎕

Try it online! (modified so TryAPL accepts it as valid)

How?

  • evaluated input (arrays are space separated)
  • 2⊥⍣¯1⊢ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • 2⊥ convert from binary (since it sort of transposes it, we arrive at the correct result)
4 added 14 characters in body
source | link

Dyalog APL, 2424 21 bytes

{2⊥¨↓⍉↑2⊥↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • transpose
  • back into a vector of vectors
  • 2⊥¨2⊥ convert from binary (since it sort of transposes it, we arrive at the correct result)

Dyalog APL, 24 bytes

{2⊥¨↓⍉↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • transpose
  • back into a vector of vectors
  • 2⊥¨ convert from binary

Dyalog APL, 24 21 bytes

{2⊥↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • 2⊥ convert from binary (since it sort of transposes it, we arrive at the correct result)
3 added 14 characters in body
source | link

Dyalog APL, 24 bytes

{2⊥¨↓⍉↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • transpose
  • back into a vector of vectors
  • 2⊥¨ convert from binary

Dyalog APL, 24 bytes

{2⊥¨↓⍉↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

Dyalog APL, 24 bytes

{2⊥¨↓⍉↑{⍵[⍋⍵]}¨↓2⊥⍣¯1⊢⍵}

Try it online!

How?

  • 2⊥⍣¯1⊢⍵ converts each each of the arguments to binary (transposed of what is in the question)
  • turns a 2D array into a vector of vectors
  • {⍵[⍋⍵]}¨ sorts each of the elements of the vector
  • turns the vector of vectors into a 2D array again
  • transpose
  • back into a vector of vectors
  • 2⊥¨ convert from binary
    Post Undeleted by Zacharý
2 added 14 characters in body
source | link
    Post Deleted by Zacharý
1
source | link