Removed notification logic from the set_status method. This will be re-implemented later.
Corrections to the sorting method for team records.