------art_45937_25561121.1183001473950
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

 ["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"].uniq.sort

array  "a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"].uniq.sort

puts array.join("WOOT!\n")

On 6/27/07, Cool Wong <coolwong85 / yahoo.com> wrote:
>
> [code]
> Array  "a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"]
> [/code]
>
> How can i sort the array data???
>
> [result]
> Array  "a", "b", "c", "d", "e"]
> [/result]
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

------art_45937_25561121.1183001473950--