remember sort state on data refresh

* add a refresh icon to show empty vs non-empty state