fixed issue with float sort