status sort working