enabled sort and limit