Sorting Block Library in Axe-Edit

Using Finder on my side to show file names instead. If I start with:

Screen Shot 2019-09-02 at 2.16.18 PM.png

I see:

Screen Shot 2019-09-02 at 2.17.08 PM.png

Yea, so no need to go any further with tests on OS X -- order is definitely not related to file name here.

@Michael Pickens definitely an OS X-specific bug.
 
Trying to figure out what it's using. It's not the SHA of the file:

Code:
~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ ll
total 32
drwxr-xr-x@  6 ian  staff   192B Sep  2 14:15 .
drwxr-xr-x@ 14 ian  staff   448B Jul 22 22:38 ..
-rw-r--r--@  1 ian  staff   488B Sep  1 09:36 Cantrell-Petrucci-Slash-EVH_20190901_093601.blk
-rw-r--r--@  1 ian  staff   468B Mar 16 15:29 Mu-Tron_20190316_152921.blk
-rw-r--r--@  1 ian  staff   469B Sep  2 14:15 Test 001_20190902_141550.blk
-rw-r--r--@  1 ian  staff   469B Sep  2 14:15 Test 002_20190902_141558.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 224 *.blk | sort
0300a417af061b76e74f81868784fa861cb5a10e4c13e9f55b4c3f18  Test 002_20190902_141558.blk
23c2ecf125d7ba35e293040cb845f5fcddba28d976ce079bacd3797e  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk
3f759d92ef25f117a9a4d1f7b3d0311c3a628b73222fca0981cd126c  Test 001_20190902_141550.blk
ff6b23a245d9a362fc5e3c03fed290e8f7223b595ba1fb9e27a6ece9  Mu-Tron_20190316_152921.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 256 *.blk | sort
0308febe30f5378f2d6f679a2153d5a8410e9be6692b871dacff96ff0422eca1  Test 001_20190902_141550.blk
7406371298c6e67ec73228e35eb6b7e884215bd90365b230a825056b1bebac3b  Mu-Tron_20190316_152921.blk
b9169a732f58532bcd45e852bb121302b283a005fee03417f57b1b4269b42d54  Test 002_20190902_141558.blk
f6e4c08d454a0ab717139cf63f8f959daab9b163dc81ae01fd495aa7c813984f  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 384 *.blk | sort
5baf388ae28c7f76b06321e855cbd88211527eb2fe379947649dd4745d1bc871f2d50c809b4269709ba96e80c41430fb  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk
7e98fe97e4331a64e14c694176f97ceafa325a5097b640921a57894a0449392c4a04ce200fac25910be4db0ac8d09dde  Mu-Tron_20190316_152921.blk
a61ce89d8b6dfd3205084aa891c1e68667b6fc956c03df05ea6d438717e4d7a9822bd18f1e8a45d89f36290cb001ae3a  Test 001_20190902_141550.blk
abdd03af381f36a60e952ad2bc6eb6b791865848e943af68ca2b923e615ed26f10642c95676451435194788564012fe1  Test 002_20190902_141558.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 512 *.blk | sort
292b02d19ec6516061fe00c9c9aa8d7b84d36757c372add14b393ec83462b37639045d76fe2302d85e9a24dd0e9a264ba3e74942b32826b1f360c0f690da2218  Test 001_20190902_141550.blk
2d43b571f490fdd52f13d268f4e74aa6f84855c469182ea4e9f2acdb13f29435c0bd4a783b48a1f047f0741e73efb31074372b789c43c222149e9026db4d7f5a  Test 002_20190902_141558.blk
50721b06bc875944e1e4d9ce0c62d628613d43e71063ffb85de80c4842af380bfc7211988801fd6462c83bdac293f155f0649473e70c273a27ee87398a12ffb6  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk
e0cf9da958fba7bf4e5ea03b413a50044565396190ffe5486bcab652ad0f2f9ff8fd90cc6ca8ebee5498753968c104991541ee8a77523d44b59d1b79ce269d6e  Mu-Tron_20190316_152921.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 512224 *.blk | sort
06e42fdabe1c508e2f1f709bdc6c7f3d68cd325392d5be5b0d8da308  Test 002_20190902_141558.blk
0ca1f65c647aa3c4b4830f36f4673f5c3a72cf85b70f7bada6afaa8b  Mu-Tron_20190316_152921.blk
691515355ad8dba1622d3737a2ced5d143b17abac43e8cbb71376dbd  Test 001_20190902_141550.blk
c557c20c77c6c2f5b2db6fa8042668e1ab785240170340d6960c9126  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk

~/Dropbox/Fractal Audio/Axe-Edit III/blocks/Wahwah
❯ shasum -a 512256 *.blk | sort
0e9ae423fdd6ad89c72fd8fd61c75905d476b72cc95afe7b20834cbc64892975  Mu-Tron_20190316_152921.blk
3d709edbcdaf8504310c56e12181053fe9f744fa7760bf64fda3d8290aad0680  Cantrell-Petrucci-Slash-EVH_20190901_093601.blk
a31c7c9c824583d2144c02745e86466a9c273422c60ff5b4f543985971385cdb  Test 001_20190902_141550.blk
fec315f510b27ab8e451f9c2b47807ef7915928b990630fbe615f7ec0b4aa740  Test 002_20190902_141558.blk

None of those SHA results sort the same way as the list in Axe-Edit III.

What a puzzle!
 
After reading through this thread, it appears the numeric portion of the sort is ignored, and just sorts Alpha. I could be wrong but tests show that to be the case on my end. The filenames starting with a number or character will show up in the list. But they will be ignored in the Alpha/Numeric sort and will be randomly placed.
 
None of those SHA results sort the same way as the list in Axe-Edit III.
What a puzzle!
Old thread, but I can explain this. You're on the right track, it is based on a hash. What's happening here is APFS. With HFS+, the order of the list of files returned by readdir() was sorted alphabetically. That was never guaranteed, but it was expedient to just assume that it would be sorted. That changed with APFS and the order is now by hash and you have to do the alphabetical sorting yourself in the code that builds the list. This bit a lot of developers a couple of years back.
 
It would be super nice. if done. many improvement can be made in axe edit actually, to make Axe-FX more fun and easy to explore.
 
Old thread, but I can explain this. You're on the right track, it is based on a hash. What's happening here is APFS. With HFS+, the order of the list of files returned by readdir() was sorted alphabetically. That was never guaranteed, but it was expedient to just assume that it would be sorted. That changed with APFS and the order is now by hash and you have to do the alphabetical sorting yourself in the code that builds the list. This bit a lot of developers a couple of years back.
Hmm. This reminds me that APFS is case-preserving, but not case-sensitive and that can have interesting impact on sorting results.
 
I keep trying this with AXE-EDIT on my iMAC and all I get is the dropdown menu...what am I doing wrong?
POWER USER TIP!

Hold Control+Option+Shift and click to open the block library in its own window! Now you can search, quick jump, and use the thumb tack.
(I think it's Control+Shift click on Windows)
 
I keep trying this with AXE-EDIT on my iMAC and all I get is the dropdown menu...what am I doing wrong?
In Windows 10, Ctrl-Shift-click briefly flashes a library window. So does Alt-Shift-click. And Ctrl-Alt-Shift-click. Neither combination gives a library window that persists long enough to use it.
 
GlenO.. "It's Cmd-Opt-Shift click."

I tried your suggestion as well and every other combo available just to see what happens.
Still, all I get on my iMAC with Big Sur is a dropdown menu..not a separate blocks window with an option to pin the window.

I'm at my wits end.
Has anyone actually used this shortcut with positive results?
 
Back
Top Bottom