4.5 Sorting beach objects