Implemented SortedDS and Sorted collection

Collections could use some rigorous testing
Merge branch 'master' of https://github.com/DaMSL/K3-Core