Fixed a typo in OrderedGallery's sample() method