Added endianess support to TupleDereferencer template
* Values are now sorted during dereferencing using the OutOfPlaceSorter template