Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

60%
+1 −0
Challenges Generalized Sort

Japt -h, 5 bytes Takes the array to be sorted as input and assigns the array of functions, in reverse order, to variable V. V£=ñX Try the names test case I could save a byte by replacing =ñ w...

posted 3y ago by Shaggy‭  ·  edited 3y ago by Shaggy‭

Answer
#9: Post edited by user avatar Shaggy‭ · 2021-09-02T15:56:35Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions, in reverse order, to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` and tweaking the functions but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking an array of the string representations of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions, in reverse order, to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` and tweaking the functions but doing it this way allows me to do something Japt isn't be able to do: work with objects! Each object is limited to maximum of 6 entries, though, and the keys must be one of `E` or `P-T`.
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking an array of the string representations of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
#8: Post edited by user avatar Shaggy‭ · 2021-09-02T11:45:29Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking an array of the string representations of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions, in reverse order, to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` and tweaking the functions but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking an array of the string representations of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
#7: Post edited by user avatar Shaggy‭ · 2021-09-02T10:45:40Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking an array of the string representations of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
#6: Post edited by user avatar Shaggy‭ · 2021-09-02T10:42:35Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£=ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • I _could_ save a byte by replacing `=ñ` with just `n` but doing it this way allows me to do something Japt isn't be able to do: work with objects!
  • [Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hVCltNe01SfU17TVF9TXtNUH1d&code=VqM98Vg&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKLVE)
  • ---
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£=ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)<br>[Try the objects test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=T3hV&code=VqM98U92WA&input=J1t7IlAiOjEsIlEiOjIsIlIiOjJ9LHsiUCI6MywiUSI6MiwiUiI6M30seyJQIjoyLCJRIjoyLCJSIjozfSx7IlAiOjEsIlEiOjEsIlIiOjN9LHsiUCI6MiwiUSI6MiwiUiI6MX0seyJQIjoxLCJRIjoyLCJSIjoxfSx7IlAiOjEsIlEiOjIsIlIiOjN9XScKWyJNe01SfSIsIk17TVF9IiwiTXtNUH0iXQotUQ)
#5: Post edited by user avatar Shaggy‭ · 2021-09-02T10:34:13Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 4 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqPxWA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 6 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqPxT3ZY&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 5 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • =ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqM98Vg&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • =ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqM98U92WA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)
#4: Post undeleted by user avatar Shaggy‭ · 2021-09-02T10:30:01Z (about 3 years ago)
#3: Post deleted by user avatar Shaggy‭ · 2021-09-02T09:42:17Z (about 3 years ago)
#2: Post edited by user avatar Shaggy‭ · 2021-09-02T09:36:57Z (about 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 4 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM7DyLjMw10&code=VqPxWA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 6 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqPxT3ZY&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOwyIsIsi4zMMiXQotUQ)
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 4 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes the array to be sorted as input and assigns the array of functions to variable V.
  • V£ñX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM59yLjMfV0&code=VqPxWA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)
  • If that's not an acceptable way to take input of multiple black-box functions then:
  • # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 6 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Taking the array of the string representation of the functions as the second input.
  • V£ñOvX
  • [Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqPxT3ZY&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOfSIsIsi4zH0iXQotUQ)
#1: Initial revision by user avatar Shaggy‭ · 2021-09-02T09:31:42Z (about 3 years ago)
# [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 4 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

Takes the array to be sorted as input and assigns the array of functions to variable V.

    V£ñX

[Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&header=ClvIuM7DyLjMw10&code=VqPxWA&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdCi1R)

If that's not an acceptable way to take input of multiple black-box functions then:

# [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 6 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

Taking the array of the string representation of the functions as the second input.

    V£ñOvX

[Try the names test case](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=VqPxT3ZY&input=WyJDaHJpc3RpbmEgSm9obnNvbiIsIlN0ZXdhcmQgSm9obnNvbiIsIlN0ZXdhcmQgV2hpdGUiLCJTdGV3YXJkIE8nQnJpYW4iLCJTdGV3YXJkIFNtaXRoIiwiQmlsbCBTbWl0aCIsIkpvaG4gSm9obnNvbiIsIkphbWVzIFNtaXRoIiwiU2FsbHkgSm9obnNvbiIsIkNocmlzdGluYSBNZXllcnMiLCJDaHJpcyBNZXllcnMiLCJTdGV3YXJkIE1leWVycyIsIkJpbGwgTydCcmlhbiIsIlphY2hhcnkgU21pdGgiLCJDaHJpcyBCcm93biIsIlphY2hhcnkgTydCcmlhbiIsIkFiYmV5IFNtaXRoIiwiWmFjaGFyeSBNZXllcnMiLCJKb2huIEJyb3duIiwiU2FsbHkgU21pdGgiLCJaYWNoYXJ5IEpvaG5zb24iLCJDaHJpcyBXaGl0ZSJdClsiyLjOwyIsIsi4zMMiXQotUQ)