The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Convert A Dictionary Into A Sorted List In Python

TODO: Pull subtitle into page object code_start_default_section code_end_default_section

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Convert A Dictionary Into A Sorted List In Python

-- code/
-- python

genres = {
	"Junk": [1],
	"Chill": [2],
	"Dance": [3],
	"Jass": [4], 
	"A": [7],
	"B": [1],
	'a': [3],
	'c': [2], 
	"Adf": [],
	"Aeee": [],
	"aeeed": [],
	"Aerer": []
}

items = [{"id": f, "data": genres[f]} for f in sorted(genres.keys(), key=lambda x: x.lower())]

print(items)

-- /code


-- categories
-- Python

-- metadata
-- date: 2022-03-11 01:01:51
-- id: 26eak6im
-- status: scratch
-- type: post
-- SCRUBBED_NEO: false
-- site: aws