Fixed issue with certain std::sort implementations.

Signed-off-by: retep998 <retep998@verizon.net>