I have created a view to display slideshow from specific content type.
Now I have a condition that if visitor is new then slideshow will sort according to custom field "slider order". And if user visited already then slideshow will sort according to post date.
I have tried this from "
hook_views_query_alter" but I want this to be done from view only.
I applied some custom sorting in views but not working (actually I have no idea about custom sorting in views)
Please let me know the conditions.
title, description, Image
content type= slider
Post date (desc) [here I need your help]