I figured out a way to do a conditional sort :) For my case there were two different sort scenarios, one where I didn't want to sort and one where I did. What I did was create and pass a dummy parameter to the style sheet from my c# file, much like I did with my other parameters. In the xsl:sort statement I added a condition to the end of the select portion.
Here is some code snippets
Code:
<xsl:sort select="aws:OfferSummary/aws:LowestNewPrice/aws:Amount[number($dummyValue) >= 0]" data-type="{$dataType}" order="{$order}" />
If I want to sort, I set the $dummyValue to 0 in my c# code and pass it to the stylesheet, if I don't want to sort I pass -1. I also pass parameters for the datatype and order. Those parameters don't need any special attention like the select value one, so just pass and use those like I did above.
Hope this helps anyone out there trying to do conditional sorting!