Add sort option in perference window