I am following the Advanced Custom Field plugin to sort the posts by the custom field values in Wordpress: https://www.advancedcustomfields.com/resources/orde-posts-by-custom-fields/
My question is, inside which files(.php) on Theme Editor am I supposed to insert the snippet of codes?
functions.phpin your theme folder for example - Scuzzy