To preserve a specific order for a source image's palette, embed it in the top left corner of the image before uploading.