Hola Fuhira! Y bienvenido
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
Este script, cumple con lo que pides.
Código HTML:
<html>
<head><title>Ordenar nombres</title></head>
<body>
<script language="javascript">
var nombres = new Array ();
i = 0;
do
{
t = prompt("Introduce el nombre " + (i+1), "");
if (t != null )
{
if (t.search(/\d/i) != -1) alert("Se introdujo un numero!\nIntentelo otra vez.");
else nombres[i++] = t;
}
}
while (t != null)
if (nombres.length == 0) alert("No se intrudujo ningun nombre!");
else
{
document.write("Los nombres introducidos son: " +nombres + ", " +"<br>");
document.write("Los nombres ordenados son: " +nombres.sort() + ", ");
}
</script>
</body>
</html>
Si no entiendes algo, solo hasnoslo saber, y con mucho gusto te ayudaremos.
suerte