Sort ascending & descending button

H

How1

Hi,

The sort button does not appear to be functioning properly. For example. I
ask it to sort unit numbers 1,2,3,4,5,6,7,8,9,10 & 11 and the records are
displayed in the following order 1,10,11,2,3,4,5,6,7,8,9. It appears to be
sorting the first number only. Can this be changed?
 
S

Stuart McCall

How1 said:
Hi,

The sort button does not appear to be functioning properly. For example. I
ask it to sort unit numbers 1,2,3,4,5,6,7,8,9,10 & 11 and the records are
displayed in the following order 1,10,11,2,3,4,5,6,7,8,9. It appears to be
sorting the first number only. Can this be changed?

The column you are attempting to sort is a text field. Change this to a
numeric (integer, long) field and your sort will work as planned.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top