Fix a crash while trying to sort the buffers array if buffer was named '*' and not a console