Definition : A set $S$ is said to be bounded in totally ordered set $X$ if there exist $M \in X$ such that $a \lt M $ for all $ a$ $\in S $ .
Definition : A set $S$ is said to be bounded in a metric space $(X,d)$ if $diam(S) < \infty$. Where $diam(S) = sup\{d(a,b):a,b \in S\}$
What is difference between these two definitions, and if I'm dealing with convergence in a space than which definition should be used ?
For example, if I say a sequence is bounded than what does it mean in arbitrary metric spaces ?