I am trying to sort an archive page using a meta key value (which happens to be a Unix timestamp). Currently I have the posts listed on the page by their WordPress creation date. I want to use the meta key – which is a different date than the WP creation date.
The code is pretty simple at this point, its just using The Loop to display the posts using a template:
<?php
while (have_posts()) : the_post();
Template code here
endwhile;
?>
How do I get the posts to show up by the meta value dates instead of the WP creation date?