Add refresh when sort order is changed