replace all sortBySubkey() with sortBySubkeyFast() to speed up (via @neosilky)