Revert "Sorting of Terms"

This reverts commit 9393493ab8faf11193a08eed09211582b9a8e732.