If you are going to tell her to sort her shit out, at the very least set an ultimatum. Better option is to remove yourself from the picture while she does so. If it's worth it/you are comfortable that you are the only one on her mind, get back with her. If not, you are already out and haven't wasted your time