Ashwin/Ajay | #0000 | Moving sort field identification to view.