Need code or SQL query to reorder Unit Sections in CoursePress

I would like to reorder the Unit Sections in CoursePress. Units can be reordered by drag-n-drop, but Unit Sections (pages) cannot. Can this be accomplished with a code snippet or SQL query?