sort object literals, object destructuring, react attributes, and flow type by key
create publish context provider and subscribe hook consumer