Apply default sort only if no other sort is declared.