changed sorting and updated contacts page