Order WordPress Pages By Multiple Fields

Using the standard query_posts() method with WordPress, it’s extremely simple to dictate in what order you want your posts and/or pages displayed when they are being shown together; as long as you only want to sort them by a single criterion. However, if you want to sort them by more than one criterion, then you have to do a little more work.