I have an array that contains text and numbers such as:
day_x_records (x goes from 1-20)
When I pull these table names out of my database, and into an array, and then sort using sort(array), they don't come out in the order I want. Instead they come out as day_10 to day_19, then day_1, day_20, then day_2 to day_9.
How can I make them come out as day_1, day_2, day_3, day_4, etc. .
Thanks!