Add sort_order to schema