Fix friendly name conversion method
Fix IO memory leak
Sort categories by name alphabetically
Default to alphabetical sort