Basic sort tested