Welcome to the Rockbox Technical Forums!
Couldn't the less used entries be located somewhere in the middle of the list?
I just had a thought about alpabetical sorting. It is not possible to do this, because of translations. The menu structure would be complete nonsense in a non-english language if we order the items alphabetical in english.
void menu_sort_items(struct menu_item* items, int count){ struct menu_item temp; int i = 1; for(; i<count; i++) { int j = i; temp = items[i]; for(; j>=0; j--) { if( !j || strcmpi( P2STR(items[j-1].desc), P2STR(temp.desc) ) <=0 ) { items[j] = temp; break; } else items[j] = items[j-1]; } }}
Page created in 0.086 seconds with 16 queries.