Sort_*

The Sort_* functions are used to sort the results of FindObjects.
Name Description
Sort_Reverse(array sort) Sorts according to the specifications in sort but in reverse order.
Sort_Multiple(array sort, ...) Sorts in order of the given specifications until the first specification doesn't result in equality.
Sort_Distance(int x, int y) Sorts according to the distance to the (object local) point x/y.
Sort_Random() Sorts randomly.
Sort_Speed() Sorts by object speed.
Sort_Mass() Sorts according to the objects' mass.
Sort_Value() Sorts by object value.
Sort_Func(string f, ...) Sorts according to the return value of the function f.