Working sort

Completed bool now stored