minor change for sort