Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
810 views
in Q2A Core by
Sort of like reddit, where you can set it to display top voted, newest, oldest, etc.

2 Answers

+1 vote
by
No, there is no way for users to sort answers. You can only set one global setting of "By time" or "By votes" in the admin section.
by
but there seems no options to sort ASC or DESC?
+2 votes
by

There is one weird way to do that. I don't know either it is right way or not but it will reverse the order from say ASC to DESC.

In advace theme function a_list($a_list)

Find this

 

foreach ($a_list['as'] as $a_item)
$this->a_list_item($a_item);

replace with below

foreach (array_reverse($a_list['as']) as $a_item)
$this->a_list_item($a_item);

This will reverse the answer order. If you want to allow user to sort of them choice than you need to crete a link when user click on that it will switch between these tow sorting. May be using jQuery.

Hope this weird trick may works for you. Give me your feedback hows that? :)

 

...