> If your are talking about D2, then use std.algorithm sort
> Like taken from docs below:
>
> bool myComp(int x,int y) {return x> y; }
> sort!(myComp)(array);
>
>
> See also:
> http://www.digitalmars.com/d/2.0/phobos/std_algorithm.html#sort
>
> --
> Dmitry Olshansky
Ah, yes, thanks; that looks
Like the topic says, is it possible to set a custom compare function, for when
you are using the 'sort' property of an integer array? I want the integers to
be sorted by a different criteria than their natural order. From the
documentation (http://d-programming-language.org/arrays.html) I can see h
Quoted from Nrgyzer:
> On windows you've to create a folder called "lib"
> before you run the command above - I currently
> can't say it exactly if it's needed on linux, too.
I did need to create a 'lib' directory before running 'make -flinux.mak DC=dmd'.
> After it compiled, you can copy all the