Working version of Sorted DLL