Avoid no-op page reload on changing sort, track by id.