No bug, last time I heard, `4' came before `8'.
Hint: perldoc -f sort
In reply to Re: array bug? by Fletch in thread array bug? by sacadura