Make sure sorting is kept refreshed properly