removed valueOf method from SortElement

This method was no longer needed