Harshit & Kiran | Refactored sort modal click handler.
Harshit & Kiran | Refactored modal option click handler.