ticket:5 fixed sorting method after changing priority and activity indicator has been added