01returns top-k by amount, descending
02k larger than the frame returns all (sorted)
03picks the k largest from a larger unsorted frame, in amount order
Submit runs these and one more check you don’t see, so code written for the visible tests alone can still miss.