Compare and order the length of up to three objects using direct and indirect comparison.