I am trying to sort a dataframe in ascending order which I'm confused at.
Example:
Label | Data
B3 2
B1 3
B2 4
What I'm trying to achieve is:
Label | Data
B1 3
B2 4
B3 2
I am using R without any Library.