Sorting data with Rebecca