fix edge cases on resolving sort asc/desc
fix edge cases on resolving sort asc/desc

shapiromatron/tblBuilder,shapiromatron/tblBuilder,shapiromatron/tblBuilder,shapiromatron/tblBuilder,shapiromatron/tblBuilder