-Added test file
-Added sorting