EDITABLE CODE:
LiveDemo: HTML5 Text Bidirectional Isolation <bdi>
Note-Notice that the directionality of both text and numbers are intact,without <bdi> element, 45 would have been displayed after rank .