Finished sorting implementations and fixed Parent Directory bug.