I want to get the integer value after a specific string from a file and sort all the integers.
Ex -
I have a file with thousands of lines with string weight,
-weight 100
-weight 200
-weight 20
I want to get all the integer values in sorted order.