Added Teams sorting for GUI