Below you can see the front-view size comparison of the Olympus TG-870 and Sony NEX-5T. The Sony NEX-5T is 2 mm narrower and 5 mm shorter than the Olympus TG-870 but it is also 11 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.