Frontend

Front-End changes.  Fix bugs in sort functionality.