Sorting columrandomly

QuestionsSorting columrandomly
Mario asked 8 years ago

Hi

is it possible to sort a column random instead of ascending oder descending

1 Answers
Abu Ghufran answered 8 years ago

To sort random, we use ORDER BY rand().
This is not specific to any column, it just shuffle all rows.

To get this behavior when clicking sort on some column, you can set colums setting:

$col["sortname"] = "rand()";

To available this feature, latest build is required.

Your Answer

9 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?