Coded split_compare() which split a list a testes if the list is already
sorted.