Make sort setting persistent over application restarts.