Added sorting options to shopp_order() and customer downloads in the Theme API