Projects Directory : Custom Software to Post Property Listings on 10 Sites - Custom sorting function in WooCommerce