# How to make a Perspective Table Order By Number Value

**URL:** <https://forum.inductiveautomation.com/t/how-to-make-a-perspective-table-order-by-number-value/76877>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 25, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-perspective-table-order-by-number-value/76877 "2023-07-25T15:08:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Belanger](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Charles\_Belanger](https://forum.inductiveautomation.com/u/Charles_Belanger)\
**Post date:** [July 25, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-perspective-table-order-by-number-value/76877/1 "2023-07-25T15:08:27Z")

</div>

I Want my users to be able to order a perspective table based on a column. But when i use the "sortable" Property of the column it order in alphabetical order and not by value order.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/97aba9b727d1cbfeb6fed082c33fd31b68de6623.png)

In this exemple, the Number 142 should be before the number 1308.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/8/f805dbcd220028758c22c9d652eb5b9e5fed5123.png)  
How can I Make the Table order by Value ?

---

<div class="post-metadata">

**Author:** ![CalebM](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@CalebM](https://forum.inductiveautomation.com/u/CalebM)\
**Post date:** [July 25, 2023, 3:25pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-perspective-table-order-by-number-value/76877/2 "2023-07-25T15:25:02Z")

</div>

It seems likely that the data you have is a String not an Integer. You'll need to cast it to an integer in order for it to sort like you want.
