Finished CRUD, added sorting