Render dividers correctly, set default sort function