Update listview with sorting functions.