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

50%
+0 −0
Challenges Coat of Many Colours

Ruby, 101 79 76 72 bytes This challenge was one of the funniest I have ever solved! 72 bytes solution (I show the solution as a Ruby string - because binary data is filtered out) "->l{l.sort_...

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

Answer
#9: Post edited by user avatar radarek‭ · 2022-01-20T13:28:03Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 72 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<_1[2,4].sum%145}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Try this online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAiKwRakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSH9F_kl_Tmd3VB6QXz2o97-2bmTc_ful2dfgT-bO70o9f3vzdK53VWOB8H2mR4SCkVHtstBAlVlrtS9RpoqVosJJJ-h0q3WqBSiTpFkwFJfOdwC5XnLNOCCBzysRGyQzpVqVKJo1AkbSUlmqRFPSbF7Ui5lzuhIZWtUDy1BKvFAXd67auiYxEHFC1upIC-21OJFVekgKdlBtBcloRe3mZiUeSb8oIi6TCEc_88YwLDtG76VUc1m2Bc1xevZ-EJP8UflN56Xm14ueXqcoEMcznn-4_39L_qqi82Y08yrBWulmuDsfg7GjeOQWhiUEwny8ve-pzIj6dPIZ7VdvU8L8YZhjm1aERdf4krnF2HL0Ydvcn33uNuva9CqNsz1svxC6RF6O7ye-2Wc8-_LTh5e2c-BoqZHZjKq-nEI-VSBuRTZApD7CvfKUs1mJyTnxaR-YcY7HoIfiI4P4uwDWC24eH-4eAZIoy8zx-JIriKaI4dh--cYs_9XkkFMhH_MHm8TnRXqBLg_uLDwwY8ZBlCMlzt0E4gh5pM2BTBiAbkRDWvL0CmzQS0P0PB3jFMwgw9bCbKRjvUTQWZXbyq6mW9oGidSgdrDHpYH3NmVaX64vZC4rO_gwlP5sL2gpOYPcbGPt_6IRZMYp2yehglomB3XqNize72Q-A0LyxrMrusWvP__vyekQ9Cl3B6BjRPTX00ylFLxWuieiqH2Y4Eo-uInS9wNAl9P2Eaz26UaBrGfqeuZmyODcXdAOE6zf6SQ0OdLvklukf)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 72 bytes
  • This challenge was one of the funniest I have ever solved!
  • 72 bytes solution (I show the solution as a Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<_1[2,4].sum%145}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Try this online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAiKwRakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSH9F_kl_Tmd3VB6QXz2o97-2bmTc_ful2dfgT-bO70o9f3vzdK53VWOB8H2mR4SCkVHtstBAlVlrtS9RpoqVosJJJ-h0q3WqBSiTpFkwFJfOdwC5XnLNOCCBzysRGyQzpVqVKJo1AkbSUlmqRFPSbF7Ui5lzuhIZWtUDy1BKvFAXd67auiYxEHFC1upIC-21OJFVekgKdlBtBcloRe3mZiUeSb8oIi6TCEc_88YwLDtG76VUc1m2Bc1xevZ-EJP8UflN56Xm14ueXqcoEMcznn-4_39L_qqi82Y08yrBWulmuDsfg7GjeOQWhiUEwny8ve-pzIj6dPIZ7VdvU8L8YZhjm1aERdf4krnF2HL0Ydvcn33uNuva9CqNsz1svxC6RF6O7ye-2Wc8-_LTh5e2c-BoqZHZjKq-nEI-VSBuRTZApD7CvfKUs1mJyTnxaR-YcY7HoIfiI4P4uwDWC24eH-4eAZIoy8zx-JIriKaI4dh--cYs_9XkkFMhH_MHm8TnRXqBLg_uLDwwY8ZBlCMlzt0E4gh5pM2BTBiAbkRDWvL0CmzQS0P0PB3jFMwgw9bCbKRjvUTQWZXbyq6mW9oGidSgdrDHpYH3NmVaX64vZC4rO_gwlP5sL2gpOYPcbGPt_6IRZMYp2yehglomB3XqNize72Q-A0LyxrMrusWvP__vyekQ9Cl3B6BjRPTX00ylFLxWuieiqH2Y4Eo-uInS9wNAl9P2Eaz26UaBrGfqeuZmyODcXdAOE6zf6SQ0OdLvklukf)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
#8: Post edited by user avatar radarek‭ · 2022-01-20T02:21:14Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 72 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<_1[2,4].sum%145}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAiKwRakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSH9F_kl_Tmd3VB6QXz2o97-2bmTc_ful2dfgT-bO70o9f3vzdK53VWOB8H2mR4SCkVHtstBAlVlrtS9RpoqVosJJJ-h0q3WqBSiTpFkwFJfOdwC5XnLNOCCBzysRGyQzpVqVKJo1AkbSUlmqRFPSbF7Ui5lzuhIZWtUDy1BKvFAXd67auiYxEHFC1upIC-21OJFVekgKdlBtBcloRe3mZiUeSb8oIi6TCEc_88YwLDtG76VUc1m2Bc1xevZ-EJP8UflN56Xm14ueXqcoEMcznn-4_39L_qqi82Y08yrBWulmuDsfg7GjeOQWhiUEwny8ve-pzIj6dPIZ7VdvU8L8YZhjm1aERdf4krnF2HL0Ydvcn33uNuva9CqNsz1svxC6RF6O7ye-2Wc8-_LTh5e2c-BoqZHZjKq-nEI-VSBuRTZApD7CvfKUs1mJyTnxaR-YcY7HoIfiI4P4uwDWC24eH-4eAZIoy8zx-JIriKaI4dh--cYs_9XkkFMhH_MHm8TnRXqBLg_uLDwwY8ZBlCMlzt0E4gh5pM2BTBiAbkRDWvL0CmzQS0P0PB3jFMwgw9bCbKRjvUTQWZXbyq6mW9oGidSgdrDHpYH3NmVaX64vZC4rO_gwlP5sL2gpOYPcbGPt_6IRZMYp2yehglomB3XqNize72Q-A0LyxrMrusWvP__vyekQ9Cl3B6BjRPTX00ylFLxWuieiqH2Y4Eo-uInS9wNAl9P2Eaz26UaBrGfqeuZmyODcXdAOE6zf6SQ0OdLvklukf)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 72 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<_1[2,4].sum%145}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Try this online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAiKwRakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSH9F_kl_Tmd3VB6QXz2o97-2bmTc_ful2dfgT-bO70o9f3vzdK53VWOB8H2mR4SCkVHtstBAlVlrtS9RpoqVosJJJ-h0q3WqBSiTpFkwFJfOdwC5XnLNOCCBzysRGyQzpVqVKJo1AkbSUlmqRFPSbF7Ui5lzuhIZWtUDy1BKvFAXd67auiYxEHFC1upIC-21OJFVekgKdlBtBcloRe3mZiUeSb8oIi6TCEc_88YwLDtG76VUc1m2Bc1xevZ-EJP8UflN56Xm14ueXqcoEMcznn-4_39L_qqi82Y08yrBWulmuDsfg7GjeOQWhiUEwny8ve-pzIj6dPIZ7VdvU8L8YZhjm1aERdf4krnF2HL0Ydvcn33uNuva9CqNsz1svxC6RF6O7ye-2Wc8-_LTh5e2c-BoqZHZjKq-nEI-VSBuRTZApD7CvfKUs1mJyTnxaR-YcY7HoIfiI4P4uwDWC24eH-4eAZIoy8zx-JIriKaI4dh--cYs_9XkkFMhH_MHm8TnRXqBLg_uLDwwY8ZBlCMlzt0E4gh5pM2BTBiAbkRDWvL0CmzQS0P0PB3jFMwgw9bCbKRjvUTQWZXbyq6mW9oGidSgdrDHpYH3NmVaX64vZC4rO_gwlP5sL2gpOYPcbGPt_6IRZMYp2yehglomB3XqNize72Q-A0LyxrMrusWvP__vyekQ9Cl3B6BjRPTX00ylFLxWuieiqH2Y4Eo-uInS9wNAl9P2Eaz26UaBrGfqeuZmyODcXdAOE6zf6SQ0OdLvklukf)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#7: Post edited by user avatar radarek‭ · 2022-01-20T02:20:03Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 74 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82 \x1D
  • J\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<(_1[2,4].sum%145)}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAhKwBakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSX9E_kl_Tmd3VB7gXz2o97-2bmTc_ful2uf8T-dP70o9f3_zdKZ3VmON8F2mRYS-kVDustRAlllrtStRpoqVosJRJ-h0q3WiBSiTpBkwFJfOtwDZXnLNKCCBzysRayQzpRqVKJo1AkbSUlmqRFPSbF7Ui5lxuhYZWtUDy3BKvFAXd67auiYxE7FG1upICu01OJFVekgKdlGtBcloRe3mZiSeSb8oIi6TCAS_88YILDtG7yXUc1m2Bc1xdv78MSf4x_Kby0vNqxc8vUpUJYpjNPj18vqP_VVF501t5kGGtdLNY7g_B2cG8cwxCE4NgNrtYXPXc58x8PHpM4FVtU8P_YrhhuJf7RtT5s7jB2WH0ZtjdH33vFHXjexVG2Z63mottIi9Gd5e_22Y1_fDThte3M-JrqJTpram9nkA8VSJtRHaJTHmAfeUrZbEWk3Pk0yoy5xjzeQ_BRwQP9wFuENw9Pj48BiRTlJnn8SNRFE8QxbH78I1f_InPQ6FATuIPto_PifYCXRrcX3xgwIiHTENInrwNwhH0SJsBmzIA2YqEsPbtFdikkYDufzjACc8gwNTDfqZg3EfRmJTZybGmWtoIitajdLDWpIN1NmdaXa4vZjMougVgKDnaXNBecAL738B4A4ZOmCWjaNeMDmadGNgt2Lh4s539AAjNO8uq7Ca79vy_L6cj6lHoCkbHiO6poZ9OKXqpcE1EV_0ww5F4dBWh6wWGLqHvJ1zr0Y0CXcvQ98zNlMW5uaAbIFy_0U9qcKDbJbdM_wA)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 72 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82 \x1D
  • J\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<_1[2,4].sum%145}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAiKwRakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSH9F_kl_Tmd3VB6QXz2o97-2bmTc_ful2dfgT-bO70o9f3vzdK53VWOB8H2mR4SCkVHtstBAlVlrtS9RpoqVosJJJ-h0q3WqBSiTpFkwFJfOdwC5XnLNOCCBzysRGyQzpVqVKJo1AkbSUlmqRFPSbF7Ui5lzuhIZWtUDy1BKvFAXd67auiYxEHFC1upIC-21OJFVekgKdlBtBcloRe3mZiUeSb8oIi6TCEc_88YwLDtG76VUc1m2Bc1xevZ-EJP8UflN56Xm14ueXqcoEMcznn-4_39L_qqi82Y08yrBWulmuDsfg7GjeOQWhiUEwny8ve-pzIj6dPIZ7VdvU8L8YZhjm1aERdf4krnF2HL0Ydvcn33uNuva9CqNsz1svxC6RF6O7ye-2Wc8-_LTh5e2c-BoqZHZjKq-nEI-VSBuRTZApD7CvfKUs1mJyTnxaR-YcY7HoIfiI4P4uwDWC24eH-4eAZIoy8zx-JIriKaI4dh--cYs_9XkkFMhH_MHm8TnRXqBLg_uLDwwY8ZBlCMlzt0E4gh5pM2BTBiAbkRDWvL0CmzQS0P0PB3jFMwgw9bCbKRjvUTQWZXbyq6mW9oGidSgdrDHpYH3NmVaX64vZC4rO_gwlP5sL2gpOYPcbGPt_6IRZMYp2yehglomB3XqNize72Q-A0LyxrMrusWvP__vyekQ9Cl3B6BjRPTX00ylFLxWuieiqH2Y4Eo-uInS9wNAl9P2Eaz26UaBrGfqeuZmyODcXdAOE6zf6SQ0OdLvklukf)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#6: Post edited by user avatar radarek‭ · 2022-01-20T02:16:02Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 74 bytes
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<(_1[2,4].sum%145)}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAhKwBakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSX9E_kl_Tmd3VB7gXz2o97-2bmTc_ful2uf8T-dP70o9f3_zdKZ3VmON8F2mRYS-kVDustRAlllrtStRpoqVosJRJ-h0q3WiBSiTpBkwFJfOtwDZXnLNKCCBzysRayQzpRqVKJo1AkbSUlmqRFPSbF7Ui5lxuhYZWtUDy3BKvFAXd67auiYxE7FG1upICu01OJFVekgKdlGtBcloRe3mZiSeSb8oIi6TCAS_88YILDtG7yXUc1m2Bc1xdv78MSf4x_Kby0vNqxc8vUpUJYpjNPj18vqP_VVF501t5kGGtdLNY7g_B2cG8cwxCE4NgNrtYXPXc58x8PHpM4FVtU8P_YrhhuJf7RtT5s7jB2WH0ZtjdH33vFHXjexVG2Z63mottIi9Gd5e_22Y1_fDThte3M-JrqJTpram9nkA8VSJtRHaJTHmAfeUrZbEWk3Pk0yoy5xjzeQ_BRwQP9wFuENw9Pj48BiRTlJnn8SNRFE8QxbH78I1f_InPQ6FATuIPto_PifYCXRrcX3xgwIiHTENInrwNwhH0SJsBmzIA2YqEsPbtFdikkYDufzjACc8gwNTDfqZg3EfRmJTZybGmWtoIitajdLDWpIN1NmdaXa4vZjMougVgKDnaXNBecAL738B4A4ZOmCWjaNeMDmadGNgt2Lh4s539AAjNO8uq7Ca79vy_L6cj6lHoCkbHiO6poZ9OKXqpcE1EV_0ww5F4dBWh6wWGLqHvJ1zr0Y0CXcvQ98zNlMW5uaAbIFy_0U9qcKDbJbdM_wA)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 74 bytes
  • This challenge was one of the funniest I have ever solved!
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<(_1[2,4].sum%145)}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAhKwBakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSX9E_kl_Tmd3VB7gXz2o97-2bmTc_ful2uf8T-dP70o9f3_zdKZ3VmON8F2mRYS-kVDustRAlllrtStRpoqVosJRJ-h0q3WiBSiTpBkwFJfOtwDZXnLNKCCBzysRayQzpRqVKJo1AkbSUlmqRFPSbF7Ui5lxuhYZWtUDy3BKvFAXd67auiYxE7FG1upICu01OJFVekgKdlGtBcloRe3mZiSeSb8oIi6TCAS_88YILDtG7yXUc1m2Bc1xdv78MSf4x_Kby0vNqxc8vUpUJYpjNPj18vqP_VVF501t5kGGtdLNY7g_B2cG8cwxCE4NgNrtYXPXc58x8PHpM4FVtU8P_YrhhuJf7RtT5s7jB2WH0ZtjdH33vFHXjexVG2Z63mottIi9Gd5e_22Y1_fDThte3M-JrqJTpram9nkA8VSJtRHaJTHmAfeUrZbEWk3Pk0yoy5xjzeQ_BRwQP9wFuENw9Pj48BiRTlJnn8SNRFE8QxbH78I1f_InPQ6FATuIPto_PifYCXRrcX3xgwIiHTENInrwNwhH0SJsBmzIA2YqEsPbtFdikkYDufzjACc8gwNTDfqZg3EfRmJTZybGmWtoIitajdLDWpIN1NmdaXa4vZjMougVgKDnaXNBecAL738B4A4ZOmCWjaNeMDmadGNgt2Lh4s539AAjNO8uq7Ca79vy_L6cj6lHoCkbHiO6poZ9OKXqpcE1EV_0ww5F4dBWh6wWGLqHvJ1zr0Y0CXcvQ98zNlMW5uaAbIFy_0U9qcKDbJbdM_wA)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#5: Post edited by user avatar radarek‭ · 2022-01-20T02:15:34Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> 76 bytes
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can try to copy and paste code from the "Try this online" (link below) or from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> <del>76</del> 74 bytes
  • 74 bytes solution (I show the solution as Ruby string - because binary data is filtered out)
  • ```ruby
  • "->l{l.sort_by{'d\v\x162\x82\r\x1D\nJ\"\x01T\x0E?\x8B.\x11\x05\x06G*(\fM\x00 HyI'.index''<<(_1[2,4].sum%145)}}"
  • ```
  • Unfortunately to make it work on Attempt This Online website, I had to generate code there and use eval (because if I paste code directly then it corrupts my code):
  • [Attempt This Online!](https://ato.pxeger.com/run?1=bVNNa9tAEKX0pl_xUAhKwBakpFCCnR7anHIIpL0JYWRpbatdacVKsuM4_iW99NDSX9E_kl_Tmd3VB7gXz2o97-2bmTc_ful2uf8T-dP70o9f3_zdKZ3VmON8F2mRYS-kVDustRAlllrtStRpoqVosJRJ-h0q3WiBSiTpBkwFJfOtwDZXnLNKCCBzysRayQzpRqVKJo1AkbSUlmqRFPSbF7Ui5lxuhYZWtUDy3BKvFAXd67auiYxE7FG1upICu01OJFVekgKdlGtBcloRe3mZiSeSb8oIi6TCAS_88YILDtG7yXUc1m2Bc1xdv78MSf4x_Kby0vNqxc8vUpUJYpjNPj18vqP_VVF501t5kGGtdLNY7g_B2cG8cwxCE4NgNrtYXPXc58x8PHpM4FVtU8P_YrhhuJf7RtT5s7jB2WH0ZtjdH33vFHXjexVG2Z63mottIi9Gd5e_22Y1_fDThte3M-JrqJTpram9nkA8VSJtRHaJTHmAfeUrZbEWk3Pk0yoy5xjzeQ_BRwQP9wFuENw9Pj48BiRTlJnn8SNRFE8QxbH78I1f_InPQ6FATuIPto_PifYCXRrcX3xgwIiHTENInrwNwhH0SJsBmzIA2YqEsPbtFdikkYDufzjACc8gwNTDfqZg3EfRmJTZybGmWtoIitajdLDWpIN1NmdaXa4vZjMougVgKDnaXNBecAL738B4A4ZOmCWjaNeMDmadGNgt2Lh4s539AAjNO8uq7Ca79vy_L6cj6lHoCkbHiO6poZ9OKXqpcE1EV_0ww5F4dBWh6wWGLqHvJ1zr0Y0CXcvQ98zNlMW5uaAbIFy_0U9qcKDbJbdM_wA)
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can clone the repository, which contains code (and generator) from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#4: Post edited by user avatar radarek‭ · 2022-01-19T22:57:58Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> 76 bytes
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **Attention** This code includes a binary data. Copying it from this website wont't work. You can try to copy and paste code from the "Try this online" (link below) or from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> 76 bytes
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **Attention** This code suppose to include a binary data, which is filtered out by this website. Copying it from this website wont't work. You can try to copy and paste code from the "Try this online" (link below) or from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#3: Post edited by user avatar radarek‭ · 2022-01-19T22:55:53Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> 79 bytes
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> <del>79</del> 76 bytes
  • 76 bytes solution, which is basically the same as the 79 below, but it uses binary data (bytes values in a range of 2-67) which are directly inserted in a source code. This trick allowed me to remove `+37`:
  • ```ruby
  • ->l{l.sort_by{" /5@'8
  • 6%.;:C)-=9".index''<<(_1+_1[0,3]).sum%69}}
  • ```
  • **Attention** This code includes a binary data. Copying it from this website wont't work. You can try to copy and paste code from the "Try this online" (link below) or from [github gist](https://gist.github.com/radarek/ed5600a5d4cf2222a6e72b680cac6807).
  • **[Try this online!](https://ato.pxeger.com/run?1=bVNdi9NAFAUFYfMiqCgowmVkyRbb6iIuu7VZBdmnFRaKbyGUNJluw04yYSbTbi39Jb4UWX-U_hpz5yuF9eneuXPOnXPPTX7eCTVb737No9-qmQ9O_3wbnLMNG0oumulsvSEH8PTdy4-PvzwLX50GJ08OHw1fPP_0evS1N3gQnZFhUeX0NgzH46Pp8dvpcfy-_yHpDaUqD0_OtlvT8-_DcUNlAxEMzo9WXOSyD_S2pllD8x7kPACoVSOBfG9RI3iz0ZgtZvNY5wlEkafAZwivLkMYQXgxmVxNwi0JaJUHAT4Sx0kf4iSxB3ItKK1In8yYom0QNMeD4KuKINAUwMHAXmGChL0-nCGzxa1NoLaBZxoEGEhHRHtbxpoyxldegQHtCXD3YAn3-nQC9DzzFGWS1aJocK70hxJ6Pi6pnjbNbtpYK1EzLHCRVteYyIItqUCk0WV9YUXLaGMmilJy7FwX1Y0u0LREAC11WSgpadM5wVmxxAbLgjNdL1OlC9mCZ5ylWp0fvqZptvALaNnZQsuWWSoMHe34vy_3V-RZ4AYG1xHcU52fVil4qWBNBDd9t8M98eAmAucFdC6B9xOs9eBWAc4y8J7ZnaI4uxdwCwTrN_hNdV-g-Yl2OxP_AQ)**
  • 79 bytes solution:
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#2: Post edited by user avatar radarek‭ · 2022-01-19T18:14:51Z (almost 3 years ago)
  • # [Ruby](https://www.ruby-lang.org/), 101 bytes
  • ```ruby
  • ->l{l.sort_by{" #/ ) 1%+ 65 '- 8 $ 2 , ; <4& (0 .?97 >= * 3:"[(_1+_1[0,3]).sum%69-8]}}
  • ```
  • **[Try this online!](https://ato.pxeger.com/run?1=bVBRUsIwEB1_PcVOFQWhlYoiqOBBaqeGmNIMadNJGjqV4ST-MKMeSk9jNnXAD_Pzsi9v39vN24cyi2b3ns6ePk2V-pMv5s_FRgRaqipZNBsPTi7Bnh5A2OnD-Abg3IcJwCmyVzCAe4sP12dYQncIweP0FuYzuIDRnRd1k7CfhNFwMIp7gTZ5Zzz1J_F224Z9Hz2XkEZRHB879JaKscIbeAthmAXFXrBQsi68g0YKZK20aYH9ecRtLNswIWS9d3DafwxcVkpqhDrjFWaSV6NcttTMTULoymJpVCmQkIoUS7xoLtZMobLN_J1ZcNthkSqea4nOJS9WjmAkRwHLHa2M1qw6bCIFX6PBmkvh-JwYR9BMUimIm26_WMkIzfafY7tp5sbWlKi2HVeP4_ajd7sWfwA)**
  • # [Ruby](https://www.ruby-lang.org/), <del>101</del> 79 bytes
  • ```ruby
  • ->l{l.sort_by{".E8T?Z4e9L@]/[7J+S<;`B_hNR'b^".index''<<(_1+_1[0,3]).sum%69+37}}
  • ```
  • This challenge was one of the funniest I have ever solved.
  • **[Try this online!](https://ato.pxeger.com/run?1=bVPbbtNAEH3gLV8xWoTcKheoiuiFpEVIfQFEpNAnjAkbe1JbXXutXW_SEOVLeIkEfBR8Dd6rI5WnmZ09Z_bMGfvHL6EWm_3P5eTLb9Ush-d_psMrtmUjyUUzX2y2ZHRzfnv9-SVefHiTPI_P3vU_jV9_ezvPP86ixVcyKqoMH6JoPD6an_TnJ_GLwWlyPJKqfPbqon96ttvZtn-fjBuUDUxgeHW05iKTA8CHGtMGs2PIeA-gVo0EctuiLuHp1mB2OlvGJk9gMgkUuIZo-j6CS4huZrPpLNqRHlZZr6cfieNkAHGSuAO5E4gVGZAFU9gGgZk-CL6uiAbaAngYuCudaMJBH840s8VtbEDXIDAtAiykI2qLW8YGGeProMCCDgT4e3CER306AWaeJdUyyTovGj0X_a6EmY9LNNPS9L6NtRI10wUuaHWnE1mwFQqNtLqcL6xoGW1MRVFKrjvXRXVvCkhLDcDSlIWSEpvOCc6KlW6wKjgz9ZIqU0hznnJGjbowfI00zcMCWnaaG9kypcLStR3_9-XxigIL_MDgO4J_qvPTKYUgFZyJ4KfvdnggHvxE4L2AziUIfoKzHvwqwFsGwTO3Uy3O7QX8AsH5DWFT3Rdof6L93sZ_)**
#1: Initial revision by user avatar radarek‭ · 2022-01-18T01:22:47Z (almost 3 years ago)
# [Ruby](https://www.ruby-lang.org/), 101 bytes

```ruby
->l{l.sort_by{" #/    )  1%+ 65  '- 8  $    2 , ;   <4&     (0 .?97 >= * 3:"[(_1+_1[0,3]).sum%69-8]}}
```

**[Try this online!](https://ato.pxeger.com/run?1=bVBRUsIwEB1_PcVOFQWhlYoiqOBBaqeGmNIMadNJGjqV4ST-MKMeSk9jNnXAD_Pzsi9v39vN24cyi2b3ns6ePk2V-pMv5s_FRgRaqipZNBsPTi7Bnh5A2OnD-Abg3IcJwCmyVzCAe4sP12dYQncIweP0FuYzuIDRnRd1k7CfhNFwMIp7gTZ5Zzz1J_F224Z9Hz2XkEZRHB879JaKscIbeAthmAXFXrBQsi68g0YKZK20aYH9ecRtLNswIWS9d3DafwxcVkpqhDrjFWaSV6NcttTMTULoymJpVCmQkIoUS7xoLtZMobLN_J1ZcNthkSqea4nOJS9WjmAkRwHLHa2M1qw6bCIFX6PBmkvh-JwYR9BMUimIm26_WMkIzfafY7tp5sbWlKi2HVeP4_ajd7sWfwA)**