Fixes and additions to order()

[FIXED]     order didn't sort the first element...
[FIXED]     order -n assigned to old variable 'comparator'.
[ADDED]     order -r now orders elements randomly.