sort lists to keep track of sorting for undo

work on blank gui, but don't clear on model load