Added toggle function for sort A-Z,Z-A