• Hi! You have a great plugin here that has so many options and uses for displaying data.
    I am having a bit of an issue getting it to display scores correctly in order from greatest to least. Here is my site:
    https://faucetgamers.com/games/frogger-high-scores

    Take notice of Diego who has the highest score is on the bottom.

    It seems to be recognizing the number as a “String” rather than an “Int” and so sorting it based on length. I am near 100% certain that the form has a number submission being taken in from contact form 7 submission form. The sort though is treating it as a string.

    Is there anything I can do to change this?
    Here is my shortcode that I’m using to display this:

    [cfdb-datatable form=”High Score Frogger” class=”datatable” show=”User_Login,score,Submitted” filter=”_ctc_status=Done” limit=”20″ orderby=”score DESC” headers=”score=Score,Submitted=Date Submitted,User_Login=Username”]

    Thank you!

    The page I need help with: [log in to see the link]

  • The topic ‘Sort by integer not string’ is closed to new replies.