Looks like I have a little clue why my sorting function does not want to sort image like this:

<p class="name"><img src="Images/Portfolio/portfolio1.jpg" width="270px"></p>

It only works if I change the img src into something like A:

<p class="name">A<img src="Images/Portfolio/portfolio1.jpg" width="270px"></p>

any other clue how to make sorting based on name works on images? It seems works the same way to symbol, numbers, and weight.

Any other clue would be helpful.

Hello,

Does anyone knows any other way to create a picture gallery that you can sort and shuffle as will ?

Thanks in advance.