How to create a sort features In Drupal? I'm new to Drupal and want to create a sort option (to sort some Forum topics) so that a user can select any topic and apply it.

Here is an image to better illustrate this:



How to make such sort option?
Use advanced_forum module. 
See the image attached, it provides sort option.