This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering".

declaration of natsort

bool natsort ( array &$array )

test natsort online

share natsort

comments for natsort

be the first

No comments so far for natsort(). Leave yours as first below.


Leave your comment