#sorting — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #sorting, aggregated by home.social.
-
Robotic Screw and Bolt Sorter Seeks a New Challenge
-
What fresh hell is this? (Yes, I clicked the Transaction Date column again to re-sort it) #quickbooks #intuit #sorting #fail
-
What fresh hell is this? (Yes, I clicked the Transaction Date column again to re-sort it) #quickbooks #intuit #sorting #fail
-
Today I realized mergesort is the inverse of quicksort, kind of. Both algorithms are based on the idea that in order to sort an array, you 1) separate the elements into two sub-arrays, 2) recursively sort each sub-array, and 3) combine the sorted sub-arrays into one again.
The difference is that quicksort does most of its work in step 1: It makes sure that all elements of sub-array 2 are bigger than all elements of sub-array 1. Then, after sorting each sub-array, step 3 is trivial: The last (biggest) element of sub-array 1 is smaller than the first (smallest) element of sub-array 2, so the two sub-arrays can be concatenated together without reördering anything.
Whereas mergesort does most of its work in step 3: In step 1 it simply puts half of the elements in sub-array 1 and the other half in sub-array 2, which is trivial. Then, after sorting each sub-array, it has to merge them, which can be done in linear time, but is not free.
Or in short: quicksort has a trivial merge after the recursive sort step, and mergesort has a trivial split before the recursive sort step.
-
Today I realized mergesort is the inverse of quicksort, kind of. Both algorithms are based on the idea that in order to sort an array, you 1) separate the elements into two sub-arrays, 2) recursively sort each sub-array, and 3) combine the sorted sub-arrays into one again.
The difference is that quicksort does most of its work in step 1: It makes sure that all elements of sub-array 2 are bigger than all elements of sub-array 1. Then, after sorting each sub-array, step 3 is trivial: The last (biggest) element of sub-array 1 is smaller than the first (smallest) element of sub-array 2, so the two sub-arrays can be concatenated together without reördering anything.
Whereas mergesort does most of its work in step 3: In step 1 it simply puts half of the elements in sub-array 1 and the other half in sub-array 2, which is trivial. Then, after sorting each sub-array, it has to merge them, which can be done in linear time, but is not free.
Or in short: quicksort has a trivial merge after the recursive sort step, and mergesort has a trivial split before the recursive sort step.
-
Tool: List Sorter, by (not on Mastodon or Bluesky):
https://www.gillmeister-software.com/online-tools/text/sort-list.aspx?ref=frontenddogma.com
-
Tool: List Sorter, by (not on Mastodon or Bluesky):
https://www.gillmeister-software.com/online-tools/text/sort-list.aspx?ref=frontenddogma.com
-
• Click the “Sorting” tab. Select the “sort as” field under “album artist”. Enter a character outside the alphabet or numbers there. I use a dash “–“ (option+minus).
• Sync your #iPhone with the #Mac.
• Check the “Albums” view on your iPhone. It should now show all compilations neatly sorted in the hashmark category and each Album labelled as “Various Artists” or whatever you entered in the “album artists” field.
2/3
-
• Click the “Sorting” tab. Select the “sort as” field under “album artist”. Enter a character outside the alphabet or numbers there. I use a dash “–“ (option+minus).
• Sync your #iPhone with the #Mac.
• Check the “Albums” view on your iPhone. It should now show all compilations neatly sorted in the hashmark category and each Album labelled as “Various Artists” or whatever you entered in the “album artists” field.
2/3
-
Found a way to finally make sorting in the #iPhone #Music app right without splitting compilation albums. 🙏
In the #Mac Music app:
• Verify that compilations have the checkbox “Album is a compilation of songs by various artists” is checked.
• Enter any string into the “album artist” field, for example “Various Artists”. Doing that will sort the albums under the letter “V” on iPhone if you stop here. But this field needs a setting!
#Apple #MusicApp #Sorting #Compilations #iOS #macOS
1/3
-
Found a way to finally make sorting in the #iPhone #Music app right without splitting compilation albums. 🙏
In the #Mac Music app:
• Verify that compilations have the checkbox “Album is a compilation of songs by various artists” is checked.
• Enter any string into the “album artist” field, for example “Various Artists”. Doing that will sort the albums under the letter “V” on iPhone if you stop here. But this field needs a setting!
#Apple #MusicApp #Sorting #Compilations #iOS #macOS
1/3
-
Modernizing .NET Part 27! 🔤
Solving the "Windows vs Linux" string sorting headache.
✅ Consistent behavior across OS
✅ Custom NLS-compatible comparer
✅ Fix broken CI/CD testshttps://medium.com/@michael.kopt/modernizing-net-part-27-cross-platform-string-sorting-nuances-9bed8bd1898d
#dotnet #dotnetcore #csharp #aspnet #aspnetcore #linux #unicode #windows #nls #icu #sorting #algorithm -
Modernizing .NET Part 27! 🔤
Solving the "Windows vs Linux" string sorting headache.
✅ Consistent behavior across OS
✅ Custom NLS-compatible comparer
✅ Fix broken CI/CD testshttps://medium.com/@michael.kopt/modernizing-net-part-27-cross-platform-string-sorting-nuances-9bed8bd1898d
#dotnet #dotnetcore #csharp #aspnet #aspnetcore #linux #unicode #windows #nls #icu #sorting #algorithm -
Recyclable by design: what the new EU packaging rules mean for labels https://www.upm.com/articles/adhesive-materials/26/recyclable-by-design-what-the-new-eu-packaging-rules-mean-for-labels/
#Collection #Sorting #Recycling -
Hej @breaque, I came across these vinyl registers last year. I think they’re absolutely brilliant; I haven’t quite finished yet, but it’s turning out really well – white ones for sorting by genre and style, and black ones for sorting by label.
-
How it started: Why aren't the things properly sorted when sorting alphabetically?
How it ended: WTF?!? Why does this thing sort shorter strings AFTER all others? Like "ABC" is sorted behind "ABCD" in ascending sorting mode.
Anyone know what library has this "surprise feature" or did someone implement their own sorting algorithm just for that?
-
How it started: Why aren't the things properly sorted when sorting alphabetically?
How it ended: WTF?!? Why does this thing sort shorter strings AFTER all others? Like "ABC" is sorted behind "ABCD" in ascending sorting mode.
Anyone know what library has this "surprise feature" or did someone implement their own sorting algorithm just for that?
-
#Development #Approaches
Naturalest sort · Ways to order strings in a human-friendly way https://ilo.im/16bgfe_____
#Programming #Coding #Sorting #Algorithms #JavaScript #AI #WebDev #Frontend #Backend #Comparisons -
#Development #Approaches
Naturalest sort · Ways to order strings in a human-friendly way https://ilo.im/16bgfe_____
#Programming #Coding #Sorting #Algorithms #JavaScript #AI #WebDev #Frontend #Backend #Comparisons -
Where to hide date sorting? Well, in a paginator component, of course.
Thanks @Margolin for reporting this
-
Where to hide date sorting? Well, in a paginator component, of course.
Thanks @Margolin for reporting this
-
Organizing is what you do before you do something, so that when you do it, it is not all mixed up.
A. A. Milne (1882-1956) English poet and playwright [Alan Alexander Milne]
(Attributed)More about this quote: wist.info/milne-a-a/82288/
#quote #quotes #quotation #qotd #aamilne #administration #arrangement #coordination #management #mixingup #organization #organizing #planning #preliminarywork #preparation #sorting #structuring
-
Expired #Oracle #Patent Opens Fast #Sorting Algorithm to #OpenSource #Databases https://www.infoq.com/news/2026/01/oracle-patent-sorting-databases/
-
Expired #Oracle #Patent Opens Fast #Sorting Algorithm to #OpenSource #Databases https://www.infoq.com/news/2026/01/oracle-patent-sorting-databases/
-
ORDER BY NULLs Go WHERE?!
ORDER BY with NULLs creates chaos! NULLs can go first or last depending on database. This breaks sorting logic! Watch!
#sql #sqltricks #database #sqltutorial #orderby #nullhandling #sqlquiz #codingchallenge #sqlshorts #sqlbugs #sorting #sqlwtf
-
ORDER BY NULLs Go WHERE?!
ORDER BY with NULLs creates chaos! NULLs can go first or last depending on database. This breaks sorting logic! Watch!
#sql #sqltricks #database #sqltutorial #orderby #nullhandling #sqlquiz #codingchallenge #sqlshorts #sqlbugs #sorting #sqlwtf
-
In a triumphant display of #technological #prowess, #Virginia unveils the largest #recycling project ever, promising to extend the landfill life by at least five extra minutes! 🤖♻️ Because nothing says "sustainable future" like a #robot #arm #sorting #trash while the rest of us pretend to care. 🙄🚮
https://ampsortation.com/articles/largest-us-recycling-project-spsa #Sustainable #Future #HackerNews #ngated -
In a triumphant display of #technological #prowess, #Virginia unveils the largest #recycling project ever, promising to extend the landfill life by at least five extra minutes! 🤖♻️ Because nothing says "sustainable future" like a #robot #arm #sorting #trash while the rest of us pretend to care. 🙄🚮
https://ampsortation.com/articles/largest-us-recycling-project-spsa #Sustainable #Future #HackerNews #ngated -
Algorithms can at first seem complex to students, but with memory_graph every step is clearly visualized, giving students an intuitive understanding of what their code is doing and making bugs much easier to spot and fix. Here's an example Bubble Sort algorithm: https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph/refs/heads/main/src/bubble_sort.py&breakpoints=29,38&continues=1×tep=0.2&play
-
:amazon: "The ‘Most Recent’ sort option has been removed from Amazon’s review system across both desktop and mobile for most products."
In fact, you have NO options for #sorting or #filtering anymore. None at all.
You get 8-10 #reviews — of Amazon's choice — and that's it. That's all you can see now.
We'd already decided to totally quit #Amazon after our #AmazonPrime runs out in February. This makes our decision that much easier.
Here's my chat with a rep yesterday.
-
:amazon: "The ‘Most Recent’ sort option has been removed from Amazon’s review system across both desktop and mobile for most products."
In fact, you have NO options for #sorting or #filtering anymore. None at all.
You get 8-10 #reviews — of Amazon's choice — and that's it. That's all you can see now.
We'd already decided to totally quit #Amazon after our #AmazonPrime runs out in February. This makes our decision that much easier.
Here's my chat with a rep yesterday.
-
Algorithms can at first seem complex to students, but with memory_graph every step is clearly visualized, giving students an intuitive understanding of what their code is doing and making bugs much easier to spot and fix. Here's an example Insertion Sort algorithm: https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph/refs/heads/main/src/insertion_sort.py&breakpoints=13,29&continues=1×tep=0.2&play
-
Sort the keys and values in a dictionary in Python
https://rodstephensbooks.com/sort_dictionary.html
#Python #Sorting #Dictionaries -
There's Nothing in the Air https://arxiv.org/abs/2510.22294
"the urban wage growth premium: substantially faster wage growth in larger cities
… part of this premium is driven by the firms that choose to sort themselves into bigger cities
… eliminating the job ladder mechanism, the urban wage growth premium falls by 94.1% after accounting for firms and coworkers.
… results challenge the view that cities generate human capital spillovers “in the air,” suggesting instead that urban wage dynamics reflect the #sorting of firms and workers and the pace of job #mobility."
#wages #matching #LaborMarkets -
Two new mosaics for my mosaic print series. One made from text from a very old, tiny bible, and the other from text from an old, German art dictionary. Cut up and sorted. https://www.madandmoonly.com/doctormatt/sorted.htm
-
When I Say “Alphabetical Order,” I Mean “Alphabetical Order”, by (not on Mastodon or Bluesky):
https://sebastiano.tronto.net/blog/2025-09-28-alphabetic-order/
-
🚨BREAKING NEWS: The earth-shattering #revelation that #macOS and #Linux sort #text differently has finally been uncovered! 😱 We can finally sleep at night knowing that the universe is safe, all thanks to #Zhiming Wang's daring investigation into... #sorting order. 🌎✨
https://blog.zhimingwang.org/macos-lc_collate-hunt #sorting #tech #news #Wang #HackerNews #ngated