When starting the application in dev mode (ng serve) provide a feature to sort the image order manually. The result will be a data.json which has to be replaced before building for production.