added save to file, got the sorts working nicely