0

We have created a picture-sharing web part. that gets data from 3 different SharePoint lists.

When I want to show the latest 3 posts in my production environment, it gets sorted differently.

The custom web part is written in typescript/react

sort when array == length

Post props

I have tried.ToISOString .ToString and modified it to numbers

but these work in my local environment. but when I do gulp package-solution --production

and upload it to our SharePoint. It won't sort from the latest to the oldest correctly.

vimuth
  • 5,064
  • 33
  • 79
  • 116
Royz
  • 3
  • 3

0 Answers0