Minor. Implemented correct switching between sorting toggle buttons