added double sort ability and multiple boost factor