Added sort dialog to main list activity