Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS rsort(array,SORT_NUMERIC)!?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #46033
    martyd777
    Member

    I’m working on a Worpdress-based site, and I’ve created a categories of dates with the purpose of extracting them, in numerical order, highest to lowest, to be posted in a page. I’m using



    rsort(MY_ARRAY,SORT_NUMERIC);

    which is, somewhat, working, but, for whatever reason, the numerically highest category (2014) is being posted under 2013. As a matter of fact, the highest date, no matter what it is, is being posted second. The remainder of the dates, however, are in correct order. Anyone know what’s happening, or a better way of doing this?

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.