EnLos: changes due to SortLib refactoring.