fix on sort