Sort and limit lesson