Font Awesome Sort Icon (Ascending, Descending, Up, Down)

The Font Awesome Sort Icon allows you to sort data in different ways. You can use it to create dynamic and interactive tables, charts, lists, and more. The Font Awesome Sort Icon comes in different versions: 'fa fa sort' for version 4, 'fab fa sort' for version 5, and 'fa solid fa sort' for version 6. Additionally, you can utilize other related icons, such as the Font Awesome Sort Ascending Icon, Font Awesome Sort Descending Icon, and Font Awesome Sort Alphabetical Icon

Fontawesome Version 4.X

sort

<i class='fa fa-sort'></i>

sort

<i class='fa fa-sort' style='color: white'></i>

sort

<i class='fa fa-sort' style='color: red'></i>

sort

<i class='fa fa-sort' style='color: blue'></i>

sort

<i class='fa fa-sort' style='color: #f3da35'></i>
Try it Yourself


Fontawesome Version 5.X

sort

<i class='fas fa-sort'></i>

sort

<i class='fas fa-sort' style='color: white'></i>

sort

<i class='fas fa-sort' style='color: red'></i>

sort

<i class='fas fa-sort' style='color: blue'></i>

sort

<i class='fas fa-sort' style='color: #f3da35'></i>
Try it Yourself

Fontawesome Version 6.X

sort

Web

<i class='fa-solid fa-sort'></i>

React

<FontAwesomeIcon icon="fa-solid fa-sort" />

Vue

<font-awesome-icon icon="fa-solid fa-sort" />

sort

Web

<i class='fa-solid fa-sort' style='color: white'></i>

React

<FontAwesomeIcon icon="fa-solid fa-sort" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-sort" :style="{color: 'white'}" />

sort

Web

<i class='fa-solid fa-sort' style='color: red'></i>

React

<FontAwesomeIcon icon="fa-solid fa-sort" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-sort" :style="{color: 'red'}" />

sort

Web

<i class='fa-solid fa-sort' style='color: blue'></i>

React

<FontAwesomeIcon icon="fa-solid fa-sort" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-sort" :style="{color: 'blue'}" />

sort

Web

<i class='fa-solid fa-sort' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-sort" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-sort" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome sort Icon ?

Font Awesome Icon fa fa sort Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-sort'></i>
Icon Code -
fa fa-sort

HTML Code

Get complete html code for icon sort

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-sort'></i>
                        </body>
                    </html>                    

Tags

array,character,description,number,set,style,battery,class,group,order,sort asc,desc,ascending,descending,sort-up,down,filter,numeric,organize

Change Font Awesome Icon Sort Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<i class='fa fa-sort blue-color'></i> <i class='fa fa-sort green-color'></i> <i class='fa fa-sort teal-color'></i> <i class='fa fa-sort yellow-color'></i> <i class='fa fa-sort red-color'></i>

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Sort Icon Font Awesome - FAQs

⭐What is the Font Awesome Sort Icon code?

Icon Code is - fa fa-sort.

⭐ What does the fa fa-sort Icon mean?

fa fa-sort is the Icon code of Font Awesome Sort.

⭐ Can we add fa fa-sort Icon in different sizes?

Yes, you can Icon of fa fa-sort in various pixels.

⭐ How to add a Blue color Font Awesome Sort Icon?

Add the blue color Sort icon of the font awesome by using code: fa fa-sort style='color: blue;'.

⭐ How to make white color icon of a Font Awesome Sort?

To change the Sort icon to white color use code: fa fa-sort style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?