Added function to sort/de-dupe path env var