2SUM faster

sorts array then searches matching pairs starting from both sides.