fixed blank sorting