First let me apologize because I know this has been asked a million times but I have been wracking my brain around this for countless hours now and can’t get it. I have tried the examples in the documentation as well as answers provided here in the forum. So I have a portfolio page that queries the attachments post type filters them by taxonmy, with a specific term applied to them. I created a custom field the help with sorting the images on the portfolio in a finer method then date, title etc. The field is just a text field nothing fancy.