convert sort options dialog to .ui

Change-Id: Ic110c6d2fb1f1fc28344c119eaa1b61d0ba81e6b