Fix order of medias in bucket