Make sortBy an user preference.