Sort Negative or Positive values?

How to sort the values shown on some website in positive and negative(Like +999 USD, -234 USD, +324 USD) in either increasing or decreasing order on JUnit Selenium?